Percentage Calculator

Switch between four common percentage calculations and get an instant, shareable answer.

Estimates only, not professional advice. This calculator is provided for general informational purposes and uses standard, documented formulas (shown in the sections below). It doesn't account for every factor a lender, employer, physician, or other professional would consider for your specific situation — verify important decisions with a qualified professional before relying on these numbers.

Percentages show up in four distinct everyday questions, and each one needs a different formula. Pick the calculation that matches what you're actually asking, type in your two numbers, and get the answer immediately — no need to remember which way to divide.

How it works

  1. Pick the calculation you need

    Choose between "X% of Y", "X is what % of Y", "X is Y% of what number", or "percent change" — these cover the vast majority of real percentage questions.

  2. Enter your two numbers

    Type the values into the two fields; labels update to match the calculation you picked, so it's always clear what each field means.

  3. Read the result instantly

    The answer recalculates on every keystroke — no submit button, no page reload.

  4. Share the exact calculation

    Your inputs are encoded in the page URL, so copying the address bar link preserves the exact numbers for anyone you send it to.

Four percentage questions, one calculator

Almost every real-world percentage question falls into one of four shapes, and the confusion people run into with percentages is almost always about picking the right one, not the arithmetic itself.

“X% of Y” is the most common: you have a rate and a total, and want a portion. A 15% tip on a $40 bill, a 20% discount on a $90 jacket, an 8% sales tax on a $200 purchase — all the same shape. The formula is simply (percent ÷ 100) × total.

“X is what % of Y” flips it: you know the portion and the total, and want the rate. If you scored 42 out of 50 on a test, “42 is what % of 50” tells you your grade (84%). The formula divides the part by the whole and multiplies by 100: (part ÷ total) × 100.

“X is Y% of what number” is the least intuitive but comes up constantly in finance: if a $60 down payment is 20% of the purchase price, what’s the full price? You know a portion and the rate it represents, and want the total it came from: part ÷ (percent ÷ 100).

Percent change answers “how much did this go up or down, in relative terms?” — a salary increasing from $50,000 to $54,000, a stock price moving from $120 to $108, a metric moving between two periods. The formula is ((new − old) ÷ old) × 100, and importantly, it’s not symmetric: the “old” value is always the base you divide by, which is why a 25% drop and a 33% rise can describe the exact same two numbers depending on which direction you’re measuring.

The asymmetry that trips people up

The single most common percentage mistake is assuming percent changes are reversible in a simple way — that if something goes up 20%, going down 20% gets you back to where you started. It doesn’t. If a $100 item increases 20%, it becomes $120. If that $120 item then decreases 20%, it becomes $96, not $100 — because the second 20% is calculated against the new, larger base of $120, not the original $100. This is exactly why the percent-change formula always divides by the starting value of whichever specific change you’re calculating, not a shared reference point. Retail markdown math is a common place this bites people: a “50% off” sale following an earlier “50% markup” does not return an item to its original price.

Why percentages instead of raw numbers

Percentages exist because raw differences don’t convey scale on their own. “Revenue grew by $2 million” sounds impressive until you learn whether the prior revenue was $4 million (a 50% jump) or $400 million (a 0.5% move) — same absolute number, radically different story. This is why percent change, specifically, is the standard unit for comparing growth, discounts, interest rates, and performance across contexts where the underlying scale differs. It’s also why the direction of a percent-change calculation matters for interpretation — a 50% year-over-year revenue increase and a 50% expense increase are very different news depending on which number was larger to begin with.

Rounding and precision

This calculator shows results to a reasonable number of decimal places rather than aggressively rounding, since percentage calculations that feed into further math (splitting a bill, calculating compound interest, computing a grade curve) can accumulate meaningful error if intermediate results are rounded too early. If you need a rounded answer for display purposes — “roughly 84%” rather than “84.317%” — round only the final figure you report, not the numbers you carry into your next calculation.

Common real-world uses

Tipping and bill-splitting use “X% of Y” directly. Grading and test scores use “X is what % of Y”. Reverse-engineering an original price from a known discount or deposit uses “X is Y% of what number” — useful when a receipt only shows the discount amount, not the pre-discount price. Tracking a metric over time — revenue, weight, page views, interest rates — uses percent change, and pairs naturally with this site’s other calculators: percent change on a loan balance over time is exactly what the amortization schedule in the mortgage overpayment calculator and loan calculator compute month by month.

Frequently asked questions

What's the difference between "X% of Y" and "X is what % of Y"?

The "X% of Y" mode starts with a percentage and a total, and finds a portion — for example, "20% of 50" answers "what is a fifth of 50" (10). The "X is what % of Y" mode works the other direction — you already know the portion and the total, and want the percentage — "10 is what % of 50" answers "10 is what fraction, expressed as a percent, of 50" (20%). They're inverse operations of each other.

How is percent change calculated, and why does the sign matter?

Percent change is (new value − old value) ÷ old value × 100. Going from 50 to 65 is a +30% change; going from 65 to 50 is roughly −23.1% — the same two numbers give different percentages depending on direction, because the base (the "old value" you're dividing by) is different each way. A common mistake is assuming a 30% increase and a 30% decrease cancel out — they don't, precisely because the base changes between the two calculations.

Why would I need to find "what number" instead of just multiplying?

This direction answers questions like "$10 is a 20% deposit — what's the full price?" You know the part (10) and the percentage it represents (20%), and need the whole. It's the same formula as "X% of Y" solved algebraically for Y instead of the result, which is exactly what the "X is Y% of what number" mode does automatically.

Can percentages go over 100?

Yes — anything meaning "more than the whole" produces a percentage over 100. "150% of 40" is 60, because you're asking for one and a half times 40. Percent change can also exceed 100% (e.g., a value tripling is a +200% change), and this calculator handles both without any special mode.

Why do I get an error dividing by zero in some modes?

Three of the four modes require dividing by one of your input numbers (the "whole" in "X is what % of Y", the percent in "X is Y% of what", and the starting value in percent change). Mathematically, percentages relative to zero are undefined — "what percent of 0 is 10" has no meaningful answer — so those modes require a non-zero second input.