# How to Calculate a Percentage of a Number in Excel

If you want to calculate a percentage of a number in Excel, simply multiply the percentage value by the number that you want the percentage of.

For example, if you want to calculate 20% of 500, multiply 20% by 500.

I.e. type the following formula into any Excel cell:

=20%*500

- which gives the result 100.

Note that the % operator tells Excel to divide the preceding number by 100. Therefore, the value 20% in the above calculation is evaluated as 0.2.

## Further Examples of Calculating a Percentage of a Number

### Example 1 - Percentages of Various Numbers

The following spreadsheet shows various percentage calculations for different numbers.

Formulas:

A
1=99% * 300
2=5% * 77
3=2.5% * 20

Results:

A
129799% of 300
23.855% of 77
30.52.5% of 20

### Example 2 - Sales Tax Calculation

The following spreadsheet shows the calculation of sales tax at 22.5%, of an invoice total.

Formulas:

AB
1Invoice Total (before tax):1240
2Sales Tax:=22.5% * B1
3Invoice Total (after tax):=B1 + B2

Results:

AB
1Invoice Total (before tax):1240
2Sales Tax:279
3Invoice Total (after tax):1519

For further examples of Calculating Percentages of Numbers in Excel, see the Microsoft Office website.

Or, for an overview of different types of percentage calculation, see the Percentages In Excel page.