Percentages

Calculate a percentage, a share or a change between two values.

Changing modes clears your inputs and result.

Example: 20% of 150 = 30.

Both dots and commas are accepted as decimal separators.

Your inputs stay in your browser. Displayed results are rounded to a maximum of 12 significant digits.

Method and assumptions

Method version 1.0.0 · Updated

Percentage of a value

Formula: value × rate ÷ 100

Example: 20% of 150 = 30.

rate
Percentage (%)
value
Reference value
Share as a percentage

Formula: part ÷ total × 100

Example: 30 out of a total of 150 is 20%. The total must be positive.

part
Part
total
Total
Percentage change

Formula: (next − previous) ÷ previous × 100

Example: going from 80 to 100 is a +25% change. A decrease gives a negative result. The initial value must be positive.

previous
Initial value
next
Final value

Deterministic floating-point calculation. The displayed result is rounded to a maximum of 12 significant digits.