FormulaCraft

How to work out what percentage one number is of another in Excel and Google Sheets

Topic:Percentages
Excel & Google Sheets
=B2/B3

Verified example

Computed by a real spreadsheet engine on the sample data below.

DescriptionValue
Part45
Whole180

=B2/B30.25

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Put the 'part' value in one cell (e.g. B2) and the 'whole' value in another (e.g. B3).
  2. 2In a result cell, type =B2/B3.
  3. 3Press Enter, then format the result cell as a Percentage (Home > % or Format > Number > Percent).

Tips

Need it for your exact data?

Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.

Frequently asked

What if the whole value is zero?

Division by zero produces #DIV/0!. Guard with IFERROR: =IFERROR(B2/B3,0).

How is this different from percentage change?

This formula finds the share of a whole (part/whole). Percentage change measures growth between two values ((new-old)/old).

More on Percentages

See all →

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: