Skip to main content

How to calculate cube root or Nth root in Excel?

Author Xiaoyang Last modified

Excel allows you to perform a variety of calculations, from basic operations like sum and average to more advanced ones. But have you ever needed to calculate a cube root or an Nth root of numbers in your spreadsheet? This tutorial introduces easy methods to help you efficiently handle this task.


Calculate cube root or Nth root with Exponential operator

Normally, the Exponential operator can help you to calculate the cube root or Nth root of numbers in a worksheet, please do as this:

1. Copy or enter the below formula into a blank cell:

=A2^(1/3)

2. And then drag the fill handle down to fill this formula to other cells, and the cube root of the specified cells is calculated as shown in the screenshot below:

A screenshot showing the cube root results calculated using the formula A2^(1/3) in Excel

Tips: To get the Nth root of the numbers, you just need to raise the number to the power 1/n. For instance, to get the 4th root, change n to 4, to get the 5th root, change n to 5, and so on…, =A2^(1/4), see screenshot:
A screenshot showing Nth root results calculated using a formula like A2^(1/n) in Excel

Calculate cube root or Nth root with Power function

In Excel, you can also use the Power function to calculate the cube root or Nth root.

1. Copy or enter the following formula into a blank cell:

=POWER(A2,1/3)

2. Then drag the fill handle down to fill this formula to other cells to get the cube root results, see screenshot:

A screenshot showing cube root results calculated using the POWER function in Excel

Tips: To get the 4th, 5th or nth root of the numbers, please change the number 3 to 4, 5, n as you need.

Calculate cube root or Nth root with VBA code

Besides the above formulas, you can also create a VBA code to calculate the cube root or Nth root of numbers in Excel. To do this, please follow the steps below:

1. Hold down ALT + F11 keys to open the Microsoft Visual Basic for Applications window.

2. Click Insert > Module, and paste the following code in the Module Window.

VBA code: Calculate cube root of numbers

Sub cube_root()
'Updateby ExtendOffice
Dim xrng As Range
Dim xcell As Range
Dim x As Integer
Set xrng = Application.Range("A2:A9")
x = 1
For Each xcell In xrng
 xcell.offset(0, x).Value = xcell ^ (1 / 3)
Next 
End Sub
Note: In the above code, A2:A9 is the list of cells that you want to calculate, the number 3 within the script xcell.offset(0, x).Value = xcell ^ (1 / 3) indicates the cube root to get, if you want to get the nth root, simply change it to n as required.

3. Then, press F5 key to run this code, and the cube root results are calculated next to the number column, as shown in the screenshot below:

A screenshot showing cube root results calculated using VBA code in Excel

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!