Skip to content
Free math tool

Percentage calculator

Find a percentage of an amount, such as 15% of 240, or work out what percentage one number is of another. It is handy for discounts, tips, test scores and budgets.

  • Runs in your browser
  • Free, no account needed
  • Copy or download the result

Your input

Find
The percent, or the part
The number, the whole, or the percent
Maximum, 0 to 12

Result

15% of 24036
Formula
15 / 100 × 240 = 36
240 plus 15%
276
240 minus 15%
204

The short answer

To find a percentage of a number, divide the percentage by 100 and multiply by the number. To find what percent one number is of another, divide the part by the whole and multiply by 100. Percent means per hundred, so 50% is the same as 0.5.

FormulaX% of Y = X / 100 x Y; part as a percent = part / whole x 100

Worked example15% of 240 is 15 / 100 x 240 = 36, so 240 plus 15% is 276 and 240 minus 15% is 204.

Example

Input
Find
X% of Y
X
15
Y
240
Decimal places
8
Result
15% of 24036
Formula
15 / 100 × 240 = 36
240 plus 15%
276
240 minus 15%
204

How to use the percentage calculator

  1. Under Find, pick X% of Y, X is what % of Y, or X is Y% of what.
  2. Enter your numbers in X and Y, such as 15 and 240.
  3. Set Decimal places to a whole number from 0 to 12 if you need fewer digits.
  4. The result updates as you type, or press Run. Use Copy result or Download to keep it.

How it works

X% of Y works out X / 100 x Y, and also shows Y plus and minus that percentage. X is what % of Y works out X / Y x 100. X is Y% of what works out X / Y x 100 to find the whole.

The math is exact, using whole-number fractions instead of floating point. The answer is then rounded to your chosen places, with halves rounded away from zero, and trailing zeros are dropped.

Each number can have up to 100 digits and 40 decimal places. A trailing % sign is fine. E notation like 1e3 and thousands separators like 1,000 are rejected.

When finding a part as a percent, or finding the whole, Y cannot be zero.

Everything runs in your browser. Your input is not uploaded or stored. If you use Copy link, what you entered is placed in the link.

Questions and answers

How do I find a percentage of a number?

Multiply the number by the percentage, then divide by 100. For example, 15% of 240 is 240 x 15 / 100 = 36.

How do I work out what percent one number is of another?

Divide the part by the whole and multiply by 100. 36 out of 240 is 36 / 240 x 100 = 15%. Choose X is what % of Y for this.

Can I use negative numbers or decimals?

Yes. Each value may be negative or have up to 40 decimal places, such as -2.5 or 0.125.

Is my data sent anywhere?

No. The calculation runs locally in your browser and your numbers stay on your device.

Last updated November 1, 2026. Maintained by SnowRock. How our tools work

All 220 SnowRock tools