Percentage Calculator

Calculate a percentage of a number or express a part as a percentage of a whole.

Your inputs

20% of 250
50
Before you use this result. Select the mode before entering the two numbers.

How to use Percentage Calculator

A percentage expresses a quantity per hundred. Choose the calculation mode first: taking 20% of 250 produces 50, while expressing 20 as a percentage of 250 produces 8%. The same two inputs have different meanings in the two modes.

A zero whole cannot be used as the denominator in the second mode. Negative inputs are supported for general arithmetic, but interpret negative percentages carefully in a real-world context.

The formula

A% of B = A × B / 100 A as a percentage of B = A / B × 100

A worked example

Calculation: A% of B · A: 20 · B: 250

20% of 250: 50

Questions about this calculation

Why do the two modes give different results?

One multiplies by a percentage, while the other divides a part by a whole.

Can the whole be zero?

Only in the “A% of B” mode. A ratio with a zero denominator is undefined.

Formula checks: 2026-10-08. Assumptions & corrections.

CalcDost Circle

A little maths. A little togetherness.

Your elephant and username are all anyone sees. Your email stays private.

Save to my space

This saves the inputs privately on your profile. Nothing is shared with the community.

Your people

Only you can see this. Leap-day birthdays use 28 February in other years.

Compare with a friend

The link contains this result and your elephant colour. Your inputs, birth dates and private plan name are excluded. Anyone with the link can read the result.