---
schema_version: "1"
id: 4ec3721a67102339877680cab4897e41b00b7fedefd25095625002dd1454ac85
title: EXP
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/customize_functions_exp.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.customize_functions_exp.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 2b316f782cf47a9ce0ca35c21e8c4d809f8e113901756d7845aea9bd63e58aab
description: Returns a value for e raised to the power of a number you specify.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# EXP

Returns a value for e raised to the power of a number you specify.

## Use

`EXP(number)` and replace number with a number field or value such as 5.

![Exponent of a Literal Value Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/images/icon_example.png)

Exponent of a Literal Value Example

`EXP(3)`

This formula returns the value of e to the third power.

![Compound Interest Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/images/icon_example.png)

Compound Interest Example

`Principal__c * EXP(Rate__c * Years__c)`

This formula calculates the compound interest based on a custom currency field for principal, custom percent field for rate, and custom number field for years.