Percentage calculator
Percentages of numbers, percentage change and percentage difference, exactly.
Runs in your browser. Your input is processed on this device. It is never uploaded or stored.
Percentage of a number
Enter both values to see the result.
What percentage is one number of another
Enter both values to see the result.
Percentage change
Enter both values to see the result.
Percentage difference
Enter both values to see the result.
How it works
All four calculations use exact decimal arithmetic, so results such as 10% of 0.3 come out as exactly 0.03, without floating-point errors.
- Percentage change is (new − old) ÷ |old| × 100. Dividing by the size of the old value keeps the direction right for negative numbers: going from −50 to −25 is a 50% increase. Change from 0 is undefined.
- Percentage difference is the gap between two values relative to their average. It does not depend on the order of the values and is only meaningful when both have the same sign.
- Exact or rounded: results are shown exactly when they have up to 20 decimal places. Repeating decimals such as 1 ÷ 3 are rounded to 10 decimal places and marked with ≈.
- Input: use a full stop for decimals and, optionally, commas between thousands (1,250.5). Up to 15 significant digits are accepted. Use the ± button to enter a negative number on keyboards without a minus key.
More tools
Images
- Image compressorMake JPEG, PNG and WebP images smaller and see exactly how much you saved.Runs in your browser
- Image converterConvert images between JPEG, PNG, WebP and AVIF, keeping transparency where possible.Runs in your browser
- QR code generatorTurn a link or text into a QR code and download it as PNG or SVG.Runs in your browser