Quick answer: To ask “what percentage is X of Y?”, divide X by Y and multiply by 100. The crucial decision is which number represents the reference whole.
Try your own values: BuzBolt Percentage Calculator → select What Percentage?. It calculates the ratio instantly, without registration.
Five everyday examples
| Question | Calculation | Answer |
|---|---|---|
| 24 completed tasks out of 80 | 24 ÷ 80 × 100 | 30% |
| 6 hours out of 24 | 6 ÷ 24 × 100 | 25% |
| 15 replies from 60 messages | 15 ÷ 60 × 100 | 25% |
| 120 units compared with a reference of 100 | 120 ÷ 100 × 100 | 120% |
| 7 returns out of 200 items | 7 ÷ 200 × 100 | 3.5% |
Decide what the second number means
The first number is usually the part or quantity being measured. The second is the whole or reference. If 15 of 60 people reply, the response share is 25%. Reversing those numbers, 60 ÷ 15 × 100, gives 400% and answers a different question entirely.
A percentage can exceed 100% when the quantity exceeds its reference. For example, 120 compared with a baseline of 100 is 120% of that baseline. This does not mean 120% of a fixed group of people responded; the interpretation depends on the quantities.
What if the total is zero?
Dividing by zero is undefined. If your reference whole is zero, do not show 0% as though it were a valid answer. First decide whether the question should instead be stated as a numerical change or another comparison.
Use the same units
Compare like with like: 3 metres out of 12 metres, 4 hours out of 16 hours, or 20 transactions out of 100 transactions. For 90 minutes out of 3 hours, first convert 3 hours to 180 minutes; then 90 ÷ 180 × 100 = 50%.
Spreadsheet formula
If X is in A2 and Y is in B2, enter =IF(B2=0,"N/A",A2/B2) and format the result as a percentage. Avoid multiplying by 100 a second time when the cell uses percentage formatting.
Quick accuracy check
For a positive base, if the part is exactly half of the whole, the answer should be 50%. If part and whole are equal, the answer should be 100%. These simple checks catch reversed inputs.
Related guides
How to calculate a percentage of a number explains the different question “what is 20% of 150?”. Percentage points versus percentage change explains comparisons between two percentages.
BuzBolt provides general educational tools and explanations. Check your inputs and confirm any legal, tax, accounting or workplace-specific requirements independently where relevant.