Percentage Calculator

Use this page to solve everyday percentage questions quickly and consistently. The calculator below supports three common operations: finding a percentage of a number, finding what percent one number is of another, and finding the percentage change between two values. The explanations, formulas, examples, and optional mini-game are here to help you check your setup instead of relying on guesswork.

Understand percentage questions before you calculate

Percentage questions look simple on the surface, but many mistakes come from choosing the wrong base value or from mixing up a part, a whole, and a rate. This page treats percentages as one consistent idea rather than as a bag of shortcuts: a percentage is a ratio measured per 100. Once that idea is clear, the three most common tasks become much easier to separate. You may be finding a part from a known rate, solving for the rate itself, or comparing how much a value changed relative to where it started.

That distinction matters in real life. A sales discount, a test score, a conversion rate, and a month-over-month revenue change all involve percentages, but they do not use the same setup. The calculator handles the arithmetic, while the explanation here helps with interpretation: what each field means, why the formula works, what assumptions are built in, and how to sense-check the answer before you rely on it.

A percentage is a ratio expressed per 100. When you see 25%, it literally means 25 out of 100, or 0.25 as a decimal. Percentages are useful because they make comparisons easier. Instead of saying a part is 0.25 of a whole, you can say it is 25% of that whole. The same language appears in shopping discounts, sales tax, tips, grades, budgeting, interest rates, web analytics, and performance reporting.

This calculator is designed for the three patterns people search for most often. First, you may know a percent and a whole and want the resulting part. Second, you may know a part and a whole and want to know what percent they represent. Third, you may have a starting value and an ending value and want the relative change. These sound similar in conversation, but they are different calculations, so choosing the right mode is the most important first step.

  • Percent of a number helps you find the part when you already know the rate and the whole.
  • What percent helps you find the rate when you already know the part and the whole.
  • Percent change helps you compare an ending value with a starting baseline.
Pie segment, proportional bars, grouped tokens, and comparison chart illustrating common percentage problems
Most percentage questions reduce to three patterns: find a part from a rate and whole, find the rate from a part and whole, or compare how much a value changed from a starting baseline.

Results are displayed to two decimal places for readability. Internally, the browser uses standard floating-point arithmetic. If you are doing accounting, scientific measurement, or regulated reporting, keep extra precision in your own notes and round only at the final step according to the rules that apply to your situation.

How to use this percentage calculator

Start by choosing the operation that matches the wording of your question. If the phrase includes “of,” you are usually finding a part. If it asks “is what percent of,” you are solving for the percentage rate. If it says “from X to Y,” you are comparing change over a baseline. After that, enter the two values, calculate, and read the result together with its wording so you can confirm that the interpretation matches your original question.

  1. Choose an Operation from the dropdown.
  2. Enter the two numbers in First Value and Second Value. The note under the selector updates so you can see what each field means in the selected mode.
  3. Select Calculate. The result appears below the form in plain language.

A good habit is to read the prompt literally before typing. In “What is X% of Y?” the first value is the percent rate and the second value is the whole. In “X is what percent of Y?” the first value is the part and the second value is the whole. In “Percentage change from X to Y,” the first value is the starting amount and the second value is the ending amount. You can enter decimals such as 12.5, and negative values when they make sense in context.

Formulas behind the three calculator modes

Let x be the first value and y be the second value. The calculator uses standard percentage formulas. The only real difference from one mode to the next is the unknown you are solving for: sometimes it is a part, sometimes it is the percentage rate, and sometimes it is the relative change from a starting baseline.

1) What is X% of Y? Use this when you know the rate and the whole and need the part.

Part = ( x 100 ) × y

Here x is the percent rate and y is the whole, also called the base. This is the pattern behind discounts, tax amounts, tips, commissions, and any situation where you know the rate first and want the portion it creates. If 15% of a bill is the tip, you convert 15% to 0.15 and multiply by the bill.

2) X is what percent of Y? Use this when you know the part and the whole and need the rate.

Percent = ( x y ) × 100

In this version, x is the part and y is the whole. You divide part by whole to form a ratio, then multiply by 100 to express that ratio as a percentage. This is how you convert a score such as 42 out of 50 into 84%, or how you ask what share rent represents within total monthly income. The assumption is that y must not be zero, because division by zero is undefined.

3) Percentage change from X to Y uses the starting value as the baseline for comparison.

Percent change = ( y x | x | ) × 100

Here x is the starting value and y is the ending value. The numerator gives the difference, and the denominator shows how large that change is relative to the starting baseline. The calculator also reports the raw difference, written as yx, and labels the result as an increase or decrease. This formula assumes the starting value is not zero.

Worked examples

Worked examples are useful because they show more than arithmetic; they show setup. If your situation looks similar to one of the examples below, you can usually copy the same structure with your own numbers.

Example 1: What is 15% of 200? Choose the operation “What is X% of Y?” and enter X = 15 and Y = 200. Divide 15 by 100 to convert it to 0.15, then multiply by 200. The result is 30, so 15% of 200 is 30. This is the same pattern you would use for a 15% tip, discount, fee, or commission.

Example 2: 45 is what percent of 60? Choose “X is what percent of Y?” and enter X = 45 and Y = 60. Divide 45 by 60 to get 0.75, then multiply by 100 to express that ratio as a percent. The result is 75%, so 45 represents 75% of 60. This setup is common for grades, budget shares, and completion rates.

Example 3: Percentage change from 80 to 100. Choose “Percentage change from X to Y” and enter X = 80 as the starting value and Y = 100 as the ending value. First find the raw change: 100 − 80 = 20. Then divide by the starting value: 20 ÷ 80 = 0.25. Multiply by 100 to convert the ratio to a percent. The answer is 25%, so the value increased by 25%, with an absolute difference of 20.

These examples also show a quick mental check. Ten percent of 200 is 20, so 15% of 200 should be somewhere around 30. Forty-five is three quarters of 60, so the result should be around 75%. And going from 80 to 100 is an increase of 20 on a base of 80, so a 25% increase is plausible. Estimating first is one of the easiest ways to catch swapped inputs.

Choosing the right base value and handling edge cases

Most percentage mistakes are not arithmetic mistakes. They are setup mistakes. The most common issue is choosing the wrong base value, sometimes called the whole or the baseline. A useful habit is to translate the sentence into plain math words before you type anything. Ask yourself: am I finding a piece, a rate, or a change? Once you answer that, most confusion disappears.

  • If the question includes the word of, as in “20% of 50,” you are usually finding a part from a rate and a whole.
  • If the question says is what percent of, you are usually finding the rate from a part and a whole.
  • If the question says from … to …, you are usually measuring change from a starting baseline to an ending value.

The calculator also protects against a few cases that are mathematically undefined or easy to misread. In “what percent,” the second value is the whole, and it cannot be zero because the calculation divides by that value. In percent change, the first value is the starting baseline, and it cannot be zero in the usual formula because that would require division by zero. If your situation truly starts at zero, it is often clearer to report the absolute difference instead or to choose a different baseline.

Rounding matters too. The displayed result is rounded to two decimals for readability, but you should avoid rounding mid-calculation when accuracy matters. If you chain steps such as discount then tax, keep the unrounded value until the end. Also remember that percentages are unitless even though the original numbers are not. Both inputs should use the same unit: dollars with dollars, kilograms with kilograms, visitors with visitors, and so on.

Negative values can be meaningful in some contexts, such as debt, loss, temperature, or values that cross zero. The calculator allows them, and the percent change formula uses the absolute value of the starting point in the denominator so that the baseline magnitude stays consistent. That said, once values cross zero, you should interpret the result carefully and explain the context alongside the number.

One more source of confusion is the difference between percent and percentage points. If a rate goes from 10% to 12%, that is a change of 2 percentage points, but it is also a 20% relative increase because 2 is 20% of the original 10. This calculator’s percentage change mode compares numeric values from X to Y, so be explicit when you are comparing rates rather than raw amounts.

Everyday uses, conversions, and interpretation tips

Percentage calculations show up everywhere, which is why it helps to see the same ideas in everyday language. In shopping, a 25% discount on an 80 item means first finding 25% of 80 to get the discount amount, then subtracting that amount from the original price. In restaurants, an 18% tip on a 45 bill uses the same structure. In school, 42 points out of 50 means using the “what percent” mode to express the score as a rate. In budgeting, you can compare rent with monthly income to see what share housing takes. In business reporting, percent change tells you how sales, signups, or costs moved from one period to the next.

Finance examples follow the same logic. If a stock price rises from 50 to 57.5, the percentage change gives the return over that period. If website signups increase from 250 to 310, the relative growth rate is usually more informative than the raw increase of 60 because it lets you compare one week with another even when the starting levels differ.

It also helps to keep a few common percent-decimal conversions in mind. These quick references can help you sense-check a result that looks too large or too small, especially if you suspect you entered a decimal when the calculator expected a percent number.

  • 1% = 0.01 = 1/100
  • 5% = 0.05 = 1/20
  • 10% = 0.10 = 1/10
  • 12.5% = 0.125 = 1/8
  • 25% = 0.25 = 1/4
  • 50% = 0.50 = 1/2
  • 75% = 0.75 = 3/4
  • 100% = 1.00 = 1

When you enter a percentage rate into this calculator, type it as a percent number. For example, enter 12.5 if you mean 12.5%. Do not enter 0.125 unless you truly mean 0.125%. That single input mistake is responsible for many answers that appear off by a factor of 100.

Frequently asked questions

Does this calculator handle decimals? Yes. You can enter decimals in either field. For example, you can compute 2.5% of 199.99 or find what percent 0.3 is of 1.2. The visible result is rounded to two decimals.

Why do I get an error when the second value is 0 in “what percent” mode? That mode divides by the second value, which represents the whole. Division by zero is undefined, so the calculator blocks that case rather than showing a misleading answer.

Why do I get an error when the first value is 0 in percent change mode? Percent change uses the starting value as the baseline. When that baseline is zero, the usual formula becomes undefined. In practical terms, it is often better to report the absolute change or explain the jump with a different baseline.

Is percent change the same as percent difference? Not exactly. Percent change uses a starting baseline, while percent difference often uses the average of two values as the baseline. This calculator is intended for ordered comparisons from start to end.

How should I interpret the result? Read the sentence the calculator gives you, not just the number. A result of 30 can mean 30 units as a part, while a result of 30% is a rate, and a result of 30% change means an increase or decrease relative to the starting value. The wording tells you which meaning applies.

Choose the operation that matches your question, then enter the two numbers. The short note under the selector updates so you can see what “first value” and “second value” mean in the current mode before you calculate.

For “What is X% of Y?” enter X as the percent rate and Y as the whole or base value.

Select an operation and enter values to begin.

Note: This calculator provides quick percentage computations for general use. If you are using results for contracts, taxes, or regulated reporting, verify the required rounding rules and definitions, such as whether a policy requires rounding half up, bankers rounding, or a specific number of decimal places.

Percentage mini-game: Percent Pulse

If you want a quicker way to practice the same ideas, try the optional mini-game below. It does not change the calculator’s result. Instead, it turns the three calculator modes into short timing puzzles: solve the prompt mentally, then stop the moving pulse on the correct answer scale. Some rounds ask for a percent of a number, some ask “what percent,” and others ask for percent change. The faster you recognize the correct setup, the better your streak becomes.

The real lesson behind the game is the same lesson behind the calculator: percentages are easier when you identify the base value first. If you know which number is the whole and which number is the starting point, the formulas become much less intimidating.

Score0
Time75.0s
Streak0
ProgressRound 0
Best0
Optional practice mode

Percent Pulse

Solve each percentage prompt, then tap, click, or press the space bar when the glowing marker lands on the right answer on the scale. Build streaks for bigger bonuses, and survive the faster rush phases when the pulse accelerates.

  • Objective: stop the pulse as close as possible to the correct answer.
  • Prompts: percent of a number, what percent, and percent change.
  • Controls: tap or click the canvas, or press Space/Enter.

Educational takeaway: the best runs come from spotting the base value quickly. “Percent of” multiplies a whole by a rate, “what percent” divides part by whole, and “percent change” compares the difference with the starting value.

Embed this calculator

Copy and paste the HTML below to add the Percentage Calculator - Solve Percent of a Number, What Percent, and Percent Change to your website.