Percentage calculator
Instantly calculate X% of a number, what percentage one number is of another, or what the total was from a part.
- Free
- No sign-up
- In your browser
Result
Enter both values to see the result.
How to use this tool
- Pick the type of calculation: “X% of Y”, “X is what % of Y?” or “X is Y% of what?”.
- Enter the two numbers. Use a dot for decimals (12.5); commas as thousands separators (1,250) are fine too.
- The result appears instantly, together with a sentence that explains it. Press “Copy” if you need it somewhere else.
What a percentage is
A percentage expresses an amount as a fraction of 100. Saying “25%” is the same as saying “25 out of every 100”, that is, 25/100 or 0.25. That's why percentages are useful for comparing proportions even when the totals are different.
The three formulas the calculator uses
Almost every everyday percentage problem comes down to one of these three questions. The calculator solves all three with the same logic:
- X% of Y: multiply Y by X and divide by 100. Example: 15% of 80 = 80 × 15 / 100 = 12.
- X is what % of Y?: divide X by Y and multiply by 100. Example: 30 out of 120 = 30 / 120 × 100 = 25%.
- X is Y% of what?: divide X by Y and multiply by 100. Example: if 45 is 30% of something, the total is 45 / 30 × 100 = 150.
Percent vs. percentage points
If an interest rate goes from 2% to 3%, it has risen by one percentage point, but in relative terms it has increased by 50%. They're two different ways of describing the same change. To calculate the relative change between two values, use the percentage increase calculator.
Examples
An 18% tip on a $64 bill
Choose “X% of Y” and enter 18 and 64. Result: $11.52.
Test score: 18 correct answers out of 24
Choose “X is what % of Y?” and enter 18 and 24. Result: 75% correct.
You paid a $45 deposit, which was 30% of the total
Choose “X is Y% of what?” and enter 45 and 30. The full price was $150.
Frequently asked questions
How do I calculate a percentage without a calculator?
Divide the percentage by 100 and multiply it by the amount. For simple percentages there are shortcuts: 10% means moving the decimal point one place to the left (10% of 64 = 6.4), 50% is half and 25% is a quarter.
Can I use decimals?
Yes. Type decimals with a dot (12.5). Commas are read as thousands separators when followed by three digits (1,250 is one thousand two hundred fifty). The result is shown with up to four decimal places.
How do I calculate a discount or a price increase?
You can do it here by working out the percentage and subtracting or adding it, but it's quicker to use the discount calculator or the percentage increase calculator, which give you the final price directly.
Is my data sent to a server?
No. All calculations happen in your browser and the numbers you type aren't sent to any server.
Related guides
Related tools
Percentage increase calculator
Percent change between two values, and increases or decreases by %.Discount calculator
Sale price, savings and stacked discounts in a moment.Ratio and proportion calculator
Solve proportions (rule of three) and simplify ratios.Average calculator
Mean, median, mode and weighted average of a list of numbers.
This page is also available in: Español, Português, Français
