Summary

To calculate the volume of a sphere, you can use the PI function together with the exponent operator (^). In the example shown, the formula in C5, copied down, is:

=4/3*PI()*B5^3

which calculates the volume of a sphere with the radius given in column B. Units are indicated generically with "u", and the result is units cubed (u3).

Generic formula

=4/3*PI()*A1^3

Explanation 

In geometry, a sphere is defined as a set of points that are all the same distance (r) from a given point in a three-dimensional space. The formula for calculating the volume of a sphere is: 

 

Where r represents radius, and the Greek letter π ("pi") represents the ratio of the circumference of a circle to its diameter. In Excel, π is represented in a formula with the PI function, which returns the number 3.14159265358979, accurate to 15 digits:

=PI() // returns 3.14159265358979

To cube a number in Excel, you can use the exponentiation operator (^):

=A1^3

Or, you can use the POWER function:

=POWER(A1,3)

Rewriting the formula using Excel's math operators we get:

=4/3*PI()*B5^3

Or, with the POWER function:

=4/3*PI()*POWER(B5,3)

The result is the same for both formulas. Following Excel's order of operations, exponentiation will occur before multiplication.

Dave Bruns Profile Picture

AuthorMicrosoft Most Valuable Professional Award

Dave Bruns

Hi - I'm Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.