What does this calculator do?
This calculator answers the question “X is what percent of Y?”. Enter the part and the whole, and it returns the percentage the part represents. It is the everyday tool for grades, discounts, statistics and comparing quantities.
Formula
Divide the part by the whole, then multiply by 100 to express the ratio as a percentage:
percentage = (part ÷ whole) × 100
How to use it
Type the part into the first field and the whole into the second field. The result updates instantly. The whole must not be zero — a percentage of zero is undefined.
Worked example
You scored 36 points out of 240. 36 ÷ 240 = 0.15, and 0.15 × 100 = 15. So 36 is 15% of 240.
Frequently asked questions
What if the part is bigger than the whole?
You get a result above 100%. For example, 300 of 240 is 125% — this simply means the part exceeds the whole.
Can I use negative numbers?
Yes. The sign carries through the division, which is useful for gains and losses. −36 of 240 is −15%.
How do I calculate a percentage of a number instead?
Use the “Percentage of a number” calculator linked below — it answers “what is 15% of 240?”.
Sources
- Standard arithmetic definition of percentage (a ratio expressed per hundred). The exact formula used is shown on this page; no external data is involved.
- Khan Academy — Percents (review of the underlying math)
- Reviewed: 2026-07-28
Related calculators
Last updated: 2026-07-28 · v1.0.0 · Report an error