Percentage Calculator

Enter Your Values to Calculate Percentage Instantly

Calculate Percentage from:
What is of?
Result

is what % of?
Result

is of what?
Result

Fromto
Result

Original Value
Result

Difference betweenand
Result

Support Us Add as a preferred source on Google (opens in new tab)

About the Percentage Calculator

This Percentage Calculator works out X% of Y, what percent one number is of another, and the original number behind a percentage. It also handles percentage change, percentage increases and decreases, and the percentage difference between two numbers.

Contents [hideshow]

What is a Percentage?

A percentage is a ratio written as a number out of 100. It shows how big a part is compared with the whole. It is also dimensionless, which means it has no unit of its own such as dollars or kilograms. For instance, 25 out of 100 is 25%, and 5 out of 10 is 50%, because 5 is to 10 what 50 is to 100.

Why is it Called a Percentage?

The word comes from the Latin per centum, which means 'by the hundred' or 'out of a hundred.' It entered English in the 16th century, but people were working in hundredths long before that. In ancient Rome, goods sold at auction were taxed at 1/100, or 1%, and Emperor Augustus put the money into the military treasury.

By the late 15th and early 16th centuries, arithmetic books were using hundredths for profit and loss and for interest. By the 17th century, quoting interest rates this way was standard.

The % sign comes from Italian rather than Latin. Writers shortened per cento, 'for a hundred,' to forms like 'p cento' and 'p 100.' A text from the early 15th century shows 'pc' with a small loop. By about 1650 the loop had turned into a horizontal fraction sign, and the 'per' was later dropped. The slanted line in today's % is a modern change.

The abbreviation 'pct' is also in use, and older documents have 'per cent.' with a period. As for spelling, American English writes 'percent' as one word, while British English usually writes 'per cent' as two. 'Percentage' is one word in both.

Today you see the sign on food labels, cashback offers, store discounts, mortgage and interest rates, exam scores, restaurant tips, statistics, and even the fabric label inside a shirt.

People also use percentages to describe how hard a person or a machine is working. "She is working at 110%" means she is doing more than anyone would expect of her, even though nobody can literally go past 100% of what they are capable of.

How to Use the Percentage Calculator

The Syntax Toolbox Percentage Calculator needs two values and gives you the answer as you type, so there is no button to press. The formula it used appears under the result. It has four modes:

  • Quick Solutions, for everyday percentage questions
  • Percentage change from X to Y
  • Increase or decrease X by Y%
  • Percentage difference between X and Y

Quick Solutions Mode

This mode opens by default and has three rows, each answering a different everyday percentage question.

What is P% of X?

This row finds a percentage of a number.

  • Enter the percentage.
  • Enter the total, or whole number.
  • Read the answer in the result box.

Example: A clothing store has 25% off everything, and the jacket you like costs $200. To see how much you would save, enter 25 and 200 to ask 'what is 25% of 200.' The result is 50, so you save $50 and pay $150.

X is What Percent of Y?

This row finds what percentage one number is of another.

  • Enter the part.
  • Enter the whole, the number you are comparing it with.
  • Read the percentage in the result box.

Example: You scored 433 out of 500 across all your exams. Enter 433 and 500, and the result is 86.6%.

X is P% of What?

Use this row when you know a part and its percentage but not the total.

  • Enter the part.
  • Enter the percentage it makes up.
  • Read the total in the result box.

Example: The last time you ate out, you left a $22 tip, which was 20% of the bill. Enter 22 and 20 to find the bill. The result is 110, so the bill was $110.

Percentage Change from X to Y

This mode measures how much a value has gone up or down, in percent, from where it started.

  • Enter the starting value (X) after 'From.'
  • Enter the new value (Y) after 'to.'
  • Read the change. A plus sign means an increase and a minus sign means a decrease.

Example: The price of gas goes from $3 to $4.50. Enter 3 and 4.5, and the result is +50%.

It works for drops too. If a stock falls from $209 to $125, the percentage change is −40.1914%.

Increase or Decrease X by Y%

This mode shows what a value becomes after you add or take off a percentage.

  • Enter the original value (X).
  • Choose 'Increase by' or 'Decrease by.'
  • Enter the percentage (Y%).
  • Read the new value. The line below it shows the amount added or taken off.

Example: You earn $5,000 a month and get a 15% raise at your annual appraisal. Enter 5000, choose 'Increase by,' and enter 15. Your raise is $750, and your new salary is $5,750.

Or say you own a $25,000 car that lost 18% of its value in the first year. Decrease 25,000 by 18% and you get $20,500, which means it lost $4,500.

Percentage Difference between X and Y

This mode shows how far apart two values are, in percent, when neither one is the starting point.

  • Enter the first value (X).
  • Enter the second value (Y).
  • Read the difference. Swapping the two values gives the same result.

Example: Two repair shops quote you $80 and $105 for the same job. Neither price is a starting point, so you want the difference rather than the change. Enter 80 and 105, and the result is 27.027%.

Which Mode Should You Use?

Percentage questions can be worded in many ways. Find the one closest to yours in this table. In the first two rows of Quick Solutions, the number after 'of' is the whole, and it goes in the second box.

Your Question Mode to Use What to Enter Answer
What is 15% of 64? Quick Solutions: What is X% of Y? 15 and 64 9.6
26 is what percent of 40? Quick Solutions: X is what % of Y? 26 and 40 65%
45 is 18% of what? Quick Solutions: X is Y% of what? 45 and 18 250
I paid $84 after 30% off. What was the full price? Quick Solutions: X is Y% of what? 84 and 70, because you paid 70% of it $120
Rent went from $1,500 to $1,620. How much is that in percent? Percentage change from X to Y 1500 and 1620 +8%
What is $240 plus 12.5%? Increase or decrease X by Y% 240, Increase by, 12.5 $270
What is $96 less 35%? Increase or decrease X by Y% 96, Decrease by, 35 $62.40
One store charges $45 and another $55. How far apart are they? Percentage difference between X and Y 45 and 55 20%

What Does Percent of a Number Mean?

A percent of a number is the share of that number you get when you split it into 100 equal parts and take some of them.

So 20% of 50 means: split 50 into 100 equal parts and take 20 of them. Each part is 0.5, and 20 of them make 10.

The formula gives the same answer in one step:

Percent of a number = (Percent ÷ 100) × Number

For 20% of 50:

Percent of a number = (20 ÷ 100) × 50

Percent of a number = 10

Why Percentages Matter

A percentage puts every figure on the same scale, out of 100, so numbers of very different sizes can be compared directly. That is why prices, pay, exam marks, interest, and survey results are so often quoted in percent.

Where Percentages Help

  • Comparing results: One basketball player makes 18 of 24 free throws and another makes 51 of 60. The raw scores are hard to compare because the number of attempts differs. As percentages, 75% and 85%, it is clear the second player shot better.
  • Putting numbers in context: "500 people in the city caught the flu" does not tell you whether the outbreak is serious. "5% of the city's population caught the flu" does, because it sets the cases against everyone who lives there.
  • Handling money: Anything charged or paid at a rate is usually quoted in percent.
    • Savings and loans: A $2,000 credit card balance at 24% a year costs about $40 in interest for one month.
    • Taxes and tips: Both are taken as a share of the bill. An 8% sales tax adds $4 to a $50 purchase, and a 20% tip on a $50 meal is $10.
    • Discounts: '30% off' tells you little until you know the price. On a $20 shirt it saves $6, and on a $900 laptop it saves $270.
  • Measuring growth: A percentage shows how big a rise or fall is next to where it started. Ten extra sales a week is a 50% jump for a shop that had 20, and 1% for one that had 1,000.
    • Economy: GDP growth and inflation are reported as percentage changes, while unemployment is a share of everyone who has a job or is looking for one.
    • Business: Companies compare sales growth, market share, and productivity in percent, so a small branch and a large one can be judged on the same scale.
  • Reading statistics: It helps to ask what a percentage is a share of.
    • Healthcare: If a treatment cuts a risk from 2% to 1%, it halves the risk, but it helps 1 person in every 100 treated.
    • Polling: A poll that puts a candidate at 48% is reporting the share of people who were asked, not of everyone who will vote.

Percentage Formulas

How to Find P% of X

Divide the percentage by 100 to turn it into a decimal, then multiply that by X.

Formula: Result = (P ÷ 100) × X

A freelancer earns $18,000 for a project and pays a 5% platform fee:

5 ÷ 100 = 0.05

0.05 × $18,000 = $900

The platform keeps $900 and the freelancer gets $17,100.

How to Find What Percentage X is of Y

Divide the part (X) by the whole (Y), then multiply by 100.

Formula: Percentage = (X ÷ Y) × 100

Say a company gets 240 job applications and shortlists 36 of them:

36 ÷ 240 = 0.15

0.15 × 100 = 15%

That means 15% of the applicants made the shortlist.

How to Find the Total When X is P% of It

Here you know the part and its percentage, and want the whole. Turn the percentage into a decimal and divide X by it.

Formula: Total = X ÷ (P ÷ 100)

A water tank holds 140 liters right now and is 35% full:

35 ÷ 100 = 0.35

140 ÷ 0.35 = 400 liters

A full tank is 400 liters.

Percentage Change Formula

Subtract the original value (X) from the new value (Y), divide the difference by the original value, and multiply by 100. A negative answer means the value went down.

Formula: Percentage change = ((Y − X) ÷ X) × 100

A drive that used to take 50 minutes takes 40 after the road is improved:

(40 − 50) ÷ 50 = −0.2

−0.2 × 100 = −20%

The drive is now 20% shorter.

Percentage Increase and Decrease Formulas

Turn the percentage into a decimal. Add it to 1 for an increase, or subtract it from 1 for a decrease. Then multiply the original value by the number you get.

Formulas:

Increase: New value = X × (1 + Y ÷ 100)

Decrease: New value = X × (1 − Y ÷ 100)

A shop has 1,200 units in stock, and a new shipment raises that by 25%:

25 ÷ 100 = 0.25

1 + 0.25 = 1.25

1,200 × 1.25 = 1,500 units

After the shipment, the shop has 1,500 units. A 25% decrease would use 0.75 instead and leave 900.

Percentage Difference Formula

Take the gap between the two values, ignoring any minus sign. Divide it by their average and multiply by 100.

Formula: Percentage difference = (|X − Y| ÷ ((X + Y) ÷ 2)) × 100

Two machines do the same job, one in 48 minutes and the other in 60:

|48 − 60| = 12

(48 + 60) ÷ 2 = 54

(12 ÷ 54) × 100 ≈ 22.22%

Their times differ by about 22.22%, whichever machine you list first.

Percentage, Decimal, and Fraction Conversion

Decimal to Percentage

Multiply the decimal by 100 and add the % sign.

Formula: Percentage = Decimal × 100

If a salesperson has reached 0.72 of their target, that is:

0.72 × 100 = 72%

They have 28% of the target left to go.

Percentage to Decimal

Drop the % sign and divide by 100. That moves the decimal point two places to the left.

Formula: Decimal = Percentage ÷ 100

You need this whenever you put a percentage into a formula. For a 12.5% discount:

12.5 ÷ 100 = 0.125

Multiply any price by 0.125 to see how much the discount takes off.

Fraction to Percentage

Divide the numerator (top number) by the denominator (bottom number), then multiply by 100.

Formula: Percentage = (Numerator ÷ Denominator) × 100

A student gets 18 out of 24 questions right, which is the fraction 18/24:

18 ÷ 24 = 0.75

0.75 × 100 = 75%

The score is 75%.

Percentage to Fraction

Write the number over 100 without the % sign. Then simplify by dividing the top and bottom by their greatest common divisor, the largest number that goes into both.

Formula: Fraction = Percentage ÷ 100

Suppose 45% of a class signs up for a school trip:

45% = 45/100

Divide both numbers by 5:

45/100 = 9/20

In other words, 9 out of every 20 students are going.

Percentage, Decimal, and Fraction Chart

Here are common fractions with their decimal and percentage forms. Decimals that repeat forever end in '…', and their percentages are rounded to four decimal places.

Fraction Decimal Percentage
1/1000.011%
1/200.055%
1/100.110%
1/80.12512.5%
1/60.1666…16.6667%
1/50.220%
1/40.2525%
3/100.330%
1/30.3333…33.3333%
3/80.37537.5%
2/50.440%
1/20.550%
3/50.660%
5/80.62562.5%
2/30.6666…66.6667%
3/40.7575%
4/50.880%
5/60.8333…83.3333%
7/80.87587.5%
1/11100%

Percentage Points vs. Percent

When a percentage itself changes, there are two ways to describe the change, and they give very different numbers. Subtract one percentage from the other and you get percentage points. Compare the change with the starting percentage and you get a percent change.

What Happened In Percentage Points In Percent
Savings rate goes from 2% to 3.5%Up 1.5 pointsUp 75%
Voter turnout goes from 60% to 66%Up 6 pointsUp 10%
Unemployment goes from 8% to 6%Down 2 pointsDown 25%
Profit margin goes from 25% to 24%Down 1 pointDown 4%

"Unemployment fell 25%" and "unemployment fell 2 points" can describe the same news. So when you read that a rate rose or fell by some percent, check which of the two is meant. In the calculator, Percentage change gives the figures in the last column. For points, just subtract.

Banks and bond markets go one step smaller and use basis points. One basis point is 0.01 of a percentage point, so a rate that goes from 4.50% to 4.75% has gone up by 25 basis points.

Common Percentage Mistakes

Many wrong answers come from taking a percentage of the wrong number. These are the four to watch for.

Adding Discounts Together

A $250 coat is 30% off, and a coupon takes another 20% off at checkout. That is not 50% off. The first discount brings the coat to $175. The second one takes 20% off $175, not off $250, so you pay $140. The total discount is 44%. Using the coupon first gives the same price.

Expecting a Gain to Undo an Equal Loss

If $1,000 drops by 25%, a 25% gain will not bring it back, because the gain applies only to the $750 that is left. The bigger the loss, the more you need to recover:

Loss Left from $1,000 Gain Needed to Get Back
10%$90011.1111%
20%$80025%
25%$75033.3333%
50%$500100%
75%$250300%

Anyone holding a falling stock runs into this. Buying more at the lower price brings your average cost down, and the Stock Average Calculator shows the new price you need to break even.

Averaging Percentages of Different Totals

In one class, 9 of 10 students pass, which is 90%. In another, 24 of 40 pass, which is 60%. The average of 90% and 60% is 75%, but the real pass rate is 33 out of 50, or 66%. The larger class has to count for more, so add up the students first and work out the percentage once.

Multiplying Yearly Growth by the Number of Years

Savings that earn 8% a year for three years, with the interest left in the account, do not grow by 24%. Each year's interest is paid on a larger balance, so $1,000 becomes $1,080, then $1,166.40, then $1,259.71. That is growth of about 25.97%.

Percentage Shortcuts for Mental Math

Most everyday percentages can be built from 50%, 10%, and 1%. Here is each shortcut used on 360:

Percentage Shortcut Answer for 360
50%Halve it180
25%Halve it twice90
75%Add 50% and 25%180 + 90 = 270
10%Move the decimal point one place left36
5%Take half of 10%18
15%Add 10% and 5%36 + 18 = 54
20%Double 10%72
1%Move the decimal point two places left3.6
2.5%Take half of 5%, or divide by 409

The last one is also the rate of Zakat on cash and gold, which the Zakat Calculator uses.

For a discount, skip the subtraction and work out what you pay. At 30% off you pay 70%, so for a $90 pair of shoes, 10% is $9 and 70% is $63.

When a rough figure will do, round first. 19% of 52 is close to 20% of 50, which is 10. The exact answer is 9.88.

Percentage Formulas in Excel and Google Sheets

These formulas work in both. Put the first value in A2 and the second in B2, and type percentages with the % sign, such as 15%.

What You Want to Do Formula A2 and B2 Result
Find a percentage of a number =A2*B2 64 and 15% 9.6
Find what percent A2 is of B2 =A2/B2 26 and 40 65%
Find the total from a part and its percentage =A2/B2 45 and 18% 250
Find the percentage change =(B2-A2)/A2 1500 and 1620 8%
Increase by a percentage =A2*(1+B2) 240 and 12.5% 270
Decrease by a percentage =A2*(1-B2) 96 and 35% 62.4
Find the price before a discount =A2/(1-B2) 84 and 30% 120
Find the percentage difference =ABS(A2-B2)/AVERAGE(A2:B2) 45 and 55 20%

A few things can trip you up:

  • If you see 0.65 instead of 65%, the cell needs a percent format. In Excel, use the % button on the Home tab. In Google Sheets, use Format, then Number, then Percent.
  • If a cell already holds 20 and you then format it as a percentage, Excel shows 2000%. Type 20% or 0.2 instead.
  • For each row's share of a total, lock the total range with dollar signs, as in =A2/SUM(A$2:A$10), so it stays put when you copy the formula down.
  • An empty or zero cell in the denominator gives #DIV/0!. Wrap the formula to hide it, as in =IFERROR((B2-A2)/A2,"").

Frequently Asked Questions

To calculate it manually, first divide the part by the whole, then multiply by 100. Formula: Percentage = (Part ÷ Whole) × 100. For example, if 18 of 24 tasks are done, 18 ÷ 24 = 0.75, and 0.75 × 100 = 75%. The whole is always the total or reference amount you are comparing against. In the Syntax Toolbox Percentage Calculator, use the "X is what % of Y?" row under Quick Solutions to get the same results.

Convert the percentage to a decimal by dividing it by 100, then multiply by the number. Formula: X% of Y = (X ÷ 100) × Y. For example, 20% of 500 = 0.20 × 500 = 100. For quick mental math, find 10% by moving the decimal point one place left, then scale it. 10% of 80 is 8, so 15% of 80 is 8 + 4 = 12. In the Syntax Toolbox Percentage Calculator, the "What is X% of Y?" row gives the exact answer.

Multiply a decimal by 100. For example, 0.375 becomes 37.5%. For a fraction, divide the top number by the bottom number first, then multiply by 100. 3/8 = 0.375 = 37.5%, and 2/3 ≈ 0.666667 ≈ 66.6667%. To reverse, divide the percentage by 100, so 62.5% = 0.625 = 5/8. In the Syntax Toolbox Percentage Calculator, use the "X is what % of Y?" row with the top number as X and the bottom number as Y.

Subtract the old value from the new value, divide by the old value, then multiply by 100. Formula: Percentage increase = (New − Old) ÷ Old × 100. For example, a salary that rises from 80,000 to 100,000 has increased by (100,000 − 80,000) ÷ 80,000 × 100 = 25%. Always divide by the starting value, not the final one. Choose "Percentage change from X to Y" in the Syntax Toolbox Percentage Calculator and enter the old value in "From" and the new value in "To" input boxes.

Use the same formula as an increase: (New − Old) ÷ Old × 100. The result is negative, which marks a decrease. For example, a price that drops from 250 to 200 changes by (200 − 250) ÷ 250 × 100 = −20%, a 20% decrease. Increases and decreases do not cancel out. A 20% cut followed by a 20% rise leaves 100 at 96, not 100, because the second percentage is taken from a smaller base.

Percentage change measures movement from a starting value to a new one, so direction matters. For example, from 80 to 100 is +25%, but from 100 to 80 is −20%. Percentage difference compares two values with no starting point, dividing the gap by their average: |A − B| ÷ ((A + B) ÷ 2) × 100. For 80 and 100, that is 20 ÷ 90 × 100 ≈ 22.2222% either way round. Use Percentage Change for growth over time, and Percentage Difference for comparing two prices, readings, or quotes side by side.

A percentage point is the plain arithmetic gap between two percentages, while a percent change measures that gap relative to the starting percentage. If an interest rate rises from 4% to 6%, it has gone up by 2 percentage points, but by 50%, because (6 − 4) ÷ 4 × 100 = 50%. News reports on interest rates, polls, and unemployment often mix the two, which can make a small move sound large or a large move sound small.

Divide the known part by the percentage, then multiply by 100. Formula: Original = Part ÷ Percentage × 100. For example, if 30 is 15% of a number, the number is 30 ÷ 15 × 100 = 200. This is often called a reverse percentage. It also undoes a discount. For example, if a jacket costs 64 after 20% off that means you paid 80% of the original, so the original price would be 64 ÷ 80 × 100 = 80. Use Syntax Toolbox Percentage Calculator's "X is Y% of what?" row for such calculations.

Divide the marks you scored by the maximum marks, then multiply by 100. Formula: Marks % = (Marks obtained ÷ Total marks) × 100. For example, 412 out of 500 = 412 ÷ 500 × 100 = 82.4%. For several subjects, add up all the marks you scored and all the maximum marks first, then divide the totals. Averaging the subject percentages only gives the same answer when every paper is out of the same total.

It depends on the board or university that issued the CGPA, because each sets its own formula. CBSE, which graded Class 10 in CGPA until 2017, used Percentage = CGPA × 9.5, so a CGPA of 8.4 equals 79.8%. Many universities use a different rule, for example (CGPA − 0.75) × 10, and print the formula on the marksheet or transcript. Always use the formula your institution states, as employers and admissions offices check against it.

Multiply the price by the discount percentage to find the saving, then subtract the savings from the original price. Formula: Sale price = Price × (1 − Discount ÷ 100). For example, 25% off 1,200 saves 300, so the sale price is 900. Choose "Increase or decrease X by Y%" in the Syntax Toolbox Percentage Calculator and enter 1200 as the Original Value, select Decrease by, and enter 25. The result would be 900, with the calculation 1,200 − 300 (25% of 1,200) underneath.

Profit percentage, also called markup, is profit divided by the cost price. Formula: Profit % = (Selling price − Cost price) ÷ Cost price × 100. Margin divides the same profit by the selling price instead. Formula: Margin % = Profit ÷ Selling price × 100. For example, buying at 800 and selling at 1,000 makes a profit of 200, which is a 25% markup but a 20% margin. Loss percentage uses the cost price too. For example, selling that item at 700 would make it a loss of 100 ÷ 800 × 100 = 12.5%. Use "Percentage change from X to Y" from the Syntax Toolbox Percentage Calculator with the cost price in 'From' and the selling price in 'To' input boxes to calculate profit or loss %.

Multiply the number by 1 plus the rate as a decimal. Formula: Total = Amount × (1 + Rate ÷ 100). For example, 850 plus 18% GST = 850 × 1.18 = 1,003. To remove the tax again, divide by the same factor: 1,003 ÷ 1.18 = 850. Subtracting 18% from 1,003 gives 822.46, which is wrong, because the tax was calculated on 850, not on 1,003. Use Increase by in the "Increase or decrease X by Y%" mode in the Syntax Toolbox Percentage Calculator to add a rate.

Excel has no single percentage function. You write the formula yourself, then apply the Percent Style format (Ctrl + Shift + %) to show the result as a percentage. For the share of a total, use =A2/B2, which shows 0.75 as 75%. For percentage change, use =(B2-A2)/A2. For X% of a number, use =A2*B2 with the percentage in B2, or type it directly as =A2*20%. Excel stores 20% as 0.2, so do not multiply by 100 if the cell is already formatted as a percentage.

Yes. A percentage over 100% means the part is larger than the whole you are comparing it with. For example, 150 is 150% of 100, and a value that grows from 50 to 150 has increased by 200%. However, a decrease in a positive value cannot exceed 100%, as a 100% decrease brings the value down to zero. Similarly, test scores and shares of a fixed total generally cannot exceed 100% because the part cannot be greater than the whole.

Yes. Both work out to X × Y ÷ 100, so the order does not change the result. For example, 8% of 50 = 4, and 50% of 8 = 4. This makes awkward percentages easy to do in your head. For example, 4% of 75 is hard, but 75% of 4 is clearly 3. It only applies to finding a percentage of a number, not to percentage change, where swapping the two values gives a different answer.

Yes. The calculator is completely free, requires no sign-up, and runs entirely in your browser. It covers X% of Y, what percent one number is of another, reverse percentages, percentage change, increase or decrease by a percentage, and percentage difference. Results update as you type and formulas appear under each answer along with a copy button beside it. All results are rounded to four decimal places. Negative numbers are supported, and inputs that would divide by zero, such as a starting value of 0, show a clear error instead of a misleading result.

We Value Your Opinion

Does this tool meet your expectations? Your feedback helps us improve

By submitting, you agree to our Terms of Use & Privacy Policy

Find Syntax Toolbox useful? Support us