Percentage Calculator — Of / Is-What-% Modes with Formula

Calculate X% of Y or find what percent A is of B. Published formulas, edge cases for zero, and worked examples for discounts and scores — free, no signup.

Inputs

Where this formula comes from

“Percent” means “per hundred.” Taking X% of Y scales Y by X/100: part = Y × (X/100). The reverse asks what share one number is of another: percent = (part / whole) × 100.

Both modes are the same linear relationship solved for different unknowns. Discounts, tip sketches, exam scores, and simple tax estimates are all instances of this identity.

The calculator rejects a zero whole in “is what %” mode because division by zero is undefined. Choose a non-zero baseline or switch to an absolute difference.

Common mistakes

How to use this calculator

Choose “Of” mode when you know the percent and the whole (discounts, tips sketched as a percent of a bill, exam weights). Choose “is what %” when you already have both amounts and need the share.

Percent arithmetic is linear in the percent factor, but sequential discounts are not additive: 20% off then 10% off leaves 72% of the original, not 70%. Recalculate each step on the new base, or multiply retention factors (0.8 × 0.9).

For scores, keep the same whole: 45 of 60 is 75%, but 45 of 50 is 90%. Mixing denominators is the usual reason two people disagree about “the same” percentage. Zero wholes are rejected in reverse mode because division by zero is undefined.

This tool does not compute percent change over time — open the percent-change calculator when the question is “how much did it move from yesterday.” Keep “percent of” and “percent change” vocabulary separate in reports so readers do not misread a share as a growth rate.

When a rubric weights categories (for example 40% exams + 60% projects), compute each category percent first, then combine with weights — do not average raw scores across differently sized pools without weighting.

Currency rounding can make “15% of 19.99” disagree by a cent depending on whether you round the percent factor or the final money amount. Pick one rounding policy and apply it consistently in receipts.

Frequently asked questions

How do you calculate a percentage of a number?
part = whole × (percent / 100). Example: 15% of 200 = 200 × 0.15 = 30.
How do you find what percent one number is of another?
percent = (part / whole) × 100. Example: 30 is what % of 200 → (30/200)×100 = 15%.
Which mode should I use?
Use “What is X% of Y?” for discounts/tax slices. Use “X is what % of Y?” when you already have both amounts.
Why can Y not be zero in “is what %” mode?
Dividing by zero is undefined. Enter a non-zero whole (Y).