exp

Learn how to use the exp function in Notion formulas.

The exp() function allows you to raise Euler’s Number \(e\) (the base of the natural logarithm) to a higher power and get the output, where the argument is the exponent:

\(e^n = m\)
exp(number)

number.exp()
Code language: JavaScript (javascript)

\(e\) approximately equals 2.718281828459045.

Good to know: exp(n) is equivalent to e^n. See e (Constant) for more.

Viewed another way, the exp() function helps you find the argument (mathematical term) in a natural logarithm.

In other words, exp() accepts \(x\) as an argument (programming term) and returns \(y\), where:

\(\log_e y = x\)

For reference, here are the named components of a logarithm:

\(\log_{base} argument = exponent\)

Learn more about natural logarithms here:

Demystifying the Natural Logarithm (ln) – BetterExplained
betterexplained.com
exp(2) /* Output: 7.389056098931 */

5.exp() /* Output: 148.413159102577 */

e ^ 5   /* Output: 148.413159102577 */

exp(ln(5))   /* Output: 5 */

5.ln().exp() /* Output 5 */
Code language: JavaScript (javascript)

Using exp(), we can write a Notion formula that models continuous growth of a starting population by a certain percentage each year over a certain number of years.

This example is also used in the article on Euler’s Constant (e); its use here demonstrates how exp(n) is equivalent to e^n.

Notion – The all-in-one workspace for your notes, tasks, wikis, and databases.
A new tool that blends your everyday work apps into one. It’s the all-in-one workspace for you and your team
thomasfrank.notion.site
prop("Starting Num") *
exp(
    prop("Growth Rate") *
    prop("Periods")
)
Code language: JavaScript (javascript)

As stated in the Euler’s Constant (e) article, continuous growth of a starting number \(n\) can be expressed as:

\(n * e^{(rate \ of \ growth \ * \ number \ of \ time \ periods)}\)

Here, we simply use the exp() function, passing prop("Growth Rate") * prop("Periods") as the argument.

We then multiply it by our starting number, passed via prop("Starting Num").

Other formula components used in this example:

multiply – Thomas Frank
thomasjfrank.com
About the Author

My name is Thomas Frank, and I'm a Notion-certified writer, YouTuber, and template creator. I've been using Notion since 2018 to organize my personal life and to run my business and YouTube channel. In addition to this formula reference, I've created a free Notion course for beginners and several productivity-focused Notion templates. If you'd like to connect, follow me on Twitter.

🤔 Have an UB Question?

Fill out the form below and I’ll answer as soon as I can! ~Thomas

🤔 Have a Question?

Fill out the form below and I’ll answer as soon as I can! ~Thomas