Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Google Sheets EXP Function: How to Use It

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

The EXP function in Google Sheets returns e raised to a given power, where e is Euler's number (approximately 2.71828). You use it for exponential growth and decay, compound interest, continuous compounding, and any calculation that needs the inverse of the natural logarithm. The syntax is simple: =EXP(number), where number is the exponent you want to apply to e. For example, =EXP(1) returns 2.718281828, and =EXP(0) returns 1. You do not need any add-ons or special permissions; a standard Google account with access to Sheets is enough.

What You'll Need

  • A Google account with access to Google Sheets (free with any Google account).
  • A spreadsheet open in a browser or the Google Sheets mobile app.
  • The exponent value you want to calculate, either typed directly into the formula or stored in another cell.

Step-by-Step

  1. Open your spreadsheet. Go to sheets.google.com, sign in, and open an existing file or create a new blank spreadsheet. On mobile, open the Google Sheets app and tap the file you want to edit.
  2. Select the cell where you want the result. Click or tap an empty cell. This is where the EXP result will appear.
  3. Type the formula. Start with an equals sign, then type EXP and an opening parenthesis. For example: =EXP(2). The number inside the parentheses is the exponent applied to e. You can also reference a cell, such as =EXP(A2), where A2 contains the exponent.
  4. Press Enter (or Return). The cell now shows the calculated value. For =EXP(2), the result is approximately 7.389056099.
  5. Check the result format. EXP returns a decimal number. If the cell shows something unexpected, such as a date, the cell may be formatted as a date or currency. Select the cell, open Format > Number, and choose Number or Automatic to see the decimal value.
  6. Copy the formula down a column if needed. Drag the small fill handle in the bottom-right corner of the cell, or copy the cell and paste it into other cells. Relative references such as A2 adjust automatically; use $A$2 if you want the reference to stay fixed.
  7. Combine EXP with other functions when useful. For continuous compounding, use a formula like =P*EXP(r*t) with P, r, and t in separate cells. For exponential decay, use a negative exponent, such as =EXP(-0.5), which returns about 0.6065.
  8. Save your work. Google Sheets saves changes automatically, but confirm the file name and location in the title bar if you are working in a shared or new file.

Common Mistakes

  • Forgetting the equals sign. Typing EXP(2) without = makes Sheets treat it as text, not a formula.
  • Using a comma instead of a period for decimals. In locales where the decimal separator is a comma, formulas may need a different separator or the value may be misread. Check your spreadsheet's locale under File > Settings if results look wrong.
  • Confusing EXP with the caret operator. =2^3 calculates 2 raised to the power 3, which is 8. =EXP(3) calculates e raised to the power 3, which is about 20.0855. They are different calculations.
  • Referencing an empty cell. An empty cell is treated as zero, so =EXP(A2) with A2 blank returns 1. That may look like an error but is mathematically correct.
  • Expecting EXP to work on text. If the referenced cell contains text, the formula returns an error. Make sure the exponent cell holds a number.
  • Formatting the result as a date. A large EXP result can be displayed as a date if the cell format is set to Date. Change the format to Number to see the actual value.

Tips

  • Use EXP for continuous growth models, while the caret operator (^) is better for discrete powers. For example, =EXP(0.05) models continuous 5% growth, while =1.05^1 models one period of 5% growth.
  • To calculate the inverse, use the LN function: =LN(EXP(2)) returns 2. This is handy for checking your work.
  • For compound interest with continuous compounding, the formula is A = P * EXP(r * t), where P is principal, r is the annual rate as a decimal, and t is time in years.
  • Keep your exponent values in their own column so you can change them without editing the formula each time.
  • Use the fill handle to apply the same EXP formula to a whole column of exponents quickly.
  • If you need more decimal places, select the cell and use Format > Number > Custom number format to set the number of decimals.

Troubleshooting

  • The formula shows #VALUE!. The argument is text or a reference to a text cell. Check the cell contents and convert the value to a number.
  • The formula shows #NAME?. EXP is misspelled or the equals sign is missing. Check the spelling and ensure the formula starts with =.
  • The result looks like a date. Change the cell format to Number via Format > Number.
  • The result is 1 when you expected something else. The referenced cell is likely empty or contains 0. Fill in the exponent value.
  • The formula does not update. Check that automatic calculation is on. In Google Sheets, recalculation is automatic, but a very large sheet may take a moment. Press Enter in the formula cell to force a refresh.
  • The result is truncated or rounded. Increase the decimal places in the cell format; the underlying value is still precise.

Frequently Asked Questions

What does EXP do in Google Sheets?

EXP returns e raised to the power of the number you provide. It is the inverse of the natural logarithm function LN.

What is the difference between EXP and the ^ operator?

The ^ operator raises any base to a power, such as =2^3. EXP always uses e as the base, so =EXP(3) is e raised to 3, not 2 raised to 3.

Can I use EXP with negative numbers?

Yes. =EXP(-1) returns approximately 0.3679. Negative exponents model exponential decay.

Why does EXP return 1 for an empty cell?

An empty cell is treated as zero, and e raised to 0 is 1. That is correct behavior, not an error.

Does EXP work on the Google Sheets mobile app?

Yes. The formula is the same on Android and iOS. Tap the cell, type =EXP(number), and confirm.

How do I get more decimal places from EXP?

Select the cell, open Format > Number, and choose a format with more decimal places, or use a custom number format.