---
description: >-
  An example of a calculation of spot price. Please see the intro for a
  reference to the equation used for spot price.
---

# Spot Price

See introduction [here]()

Let’s look at an entry level example to understand Spot Price before moving on.

Assume a new pool is created. It is an 80/20 AAVE/WETH pool. The fair market price per CoinMarketCap is $284.00 per AAVE and $3500.00 per WETH. The pool creator started the pool off with 100k perfectly split in liquidity therefore we have 80k in AAVE and 20k in WETH.

![](https://1883099587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZjjyawYFIHU1QE6T7Y7j%2Fuploads%2Fgit-blob-e8772aca1699f5aaf7c5f914155f80e6ac95c1ee%2FScreen%20Shot%202022-04-01%20at%207.44.59%20PM.png?alt=media)

The relationship between the two can be described as:

![](https://1883099587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZjjyawYFIHU1QE6T7Y7j%2Fuploads%2Fgit-blob-9aae7f45cb50fe2ac0fe64e0d7cedea8a2ae3de3%2FScreen%20Shot%202022-04-01%20at%207.45.29%20PM.png?alt=media)

![](https://1883099587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZjjyawYFIHU1QE6T7Y7j%2Fuploads%2Fgit-blob-8a25f7ba9247fae265d1b55d2e779b5d004206b5%2FScreen%20Shot%202022-04-01%20at%207.46.16%20PM.png?alt=media)

Note: These values are precisely equal when using exact numbers. Small margins of error occur in above calculations due to rounding off to 4 or less decimal places.

That is how spot price works. The USD value is to be incorporated after the token relationship is determined in order to not overcomplicate the process the last step should be this conversion.
