Skip to calculator
Libre CalculatorThe universe in numbers

Percentage calculator

Find a percentage of a value or compare one value with another.

Calculation

Answer

12

Steps

15% of 80 = 12

The rate as a share of the value
A ring filled to 15% shows that 15% of 80 is 12.

Watch the explainer

205 seconds · 8 chapters · captions included

0:00 / 3:2515% of 80 or 80% of 15?

Explanation

What does percent mean?

Percent means “per hundred.” A percentage describes a ratio whose reference scale is 100; it is a way to compare quantities, not a unit by itself. This calculator handles two questions: a stated rate applied to a value, and the rate represented by a part of a non-zero whole.

Choose the question that matches your numbers

Use “percentage of a value” when you know a base and a rate—for example, finding a 15% discount on a price. Use “part as a percentage of whole” when you know both quantities and want to compare them. Keep the part and whole in the same units. The whole is the reference quantity, so swapping them changes the answer.

R = V × p ÷ 100

Variables
Vbase value
ppercentage rate (percent (%))
Rresult in the base value's units

p = A ÷ B × 100%

Variables
Apart being compared
Bnon-zero reference whole
ppercentage rate (percent (%))

A 15% discount amount on 80

Value80
Percentage15
Result12

15% of 80 = 12

125% of a negative value

Value-240
Percentage125
Result-300

125% of -240 = -300

18 out of 24

Part18
Whole24
Result75%

18 ÷ 24 × 100 = 75%

2.5% of a small value

Value0.8
Percentage2.5
Result0.02

2.5% of 0.8 = 0.02

Diagram of this result

A ring shows the rate as a share of a full circle: the percentage applied to the value, or the part as a share of the whole.

The filled arc is the rate out of 100%. Rates above 100% fill the ring and are flagged, and a negative answer is stated in the text.

Common mistakes

Do not divide by 100 twice: the rate is divided by 100 exactly once in the first formula. In the ratio operation, divide the part by the whole and then multiply by 100. Do not confuse a percentage amount with the new total after an increase or decrease; the amount is only the change or portion. A ratio is undefined when its whole is zero, so that input is rejected rather than shown as infinity.

Assumptions and numerical limits

Inputs are signed finite decimal values with up to 30 significant digits. Editable canonical values do not accept grouping separators or exponent notation; locale-specific decimal entry is normalized at the input boundary. Percentages may be negative or greater than 100, and values may be negative. Arithmetic uses 50 significant internal digits and is not rounded until presentation. Results beyond the supported decimal exponent range are rejected. This is arithmetic, not a rule about tax, discounts, or financial settlement.

Can a percentage be greater than 100%?

Yes. It means the compared amount is greater than the reference, or that a rate above 100% is being applied. No artificial 0–100 restriction is imposed.

Why can the whole not be zero?

A ÷ 0 is undefined, so no finite percentage represents a part relative to a zero whole. The other operation can still calculate a percentage of zero.

What does a negative answer mean?

The sign follows the signed quantities and rate. It can describe a signed amount; it is not automatically a negative percentage change, which is a separate calculation with its own baseline convention.

Sources and related topics

The formulas are elementary ratio identities. For background, see OpenStax, Prealgebra 2e, section 6.3 “Solve General Applications of Percent”: https://openstax.org/books/prealgebra-2e/pages/6-3-solve-general-applications-of-percent. The examples above are authored here and checked against independent arithmetic fixtures.