About this tool
This page opens in what-percent mode. Enter the part and the whole to get the share as a percentage — 30 is 25% of 120, and 42 out of 50 on a test is 84%. The formula is part ÷ whole × 100. The part may be larger than the whole (giving more than 100%); the whole cannot be 0.
A percentage calculator for the four everyday questions: what is X% of a number, what percent one number is of another, the percentage change from an old value to a new one, and adding or subtracting a percentage (such as a discounted price). Results drop floating-point noise and show up to six decimals.
How to use
Choose a calculation: a percent of a number, what percent, percentage change, or adding/subtracting a percent.
Enter two numbers (and the direction when adding or subtracting), then calculate and copy.
Type numbers like 12, -3.5 or 12,5 without thousands separators. Percentage change is based on the absolute old value and is undefined when it is 0. Results show up to six decimals.
Frequently asked questions
How do I turn a test score into a percentage?
Enter your score as the part and the maximum score as the whole: 42 out of 50 is 84%.
Why do my shares not add up to exactly 100%?
Each result is rounded to at most 6 decimal places, so rounded shares can differ from 100% by a tiny amount.
How do I go the other way, from a percent to a number?
Switch to X% of a number: 25% of 120 is 30.
How is percentage change calculated?
(new − old) ÷ |old| × 100%. It is undefined when the old value is 0.