Calculation guide
Use simultaneous quotes in the same currency. A locked market has zero spread.
bps = 20000*(ask-bid)/(ask+bid) · mid = (ask+bid)/2 · spread = ask-bid
Inputs
Best bid price
Example entry 99 (in the selected currency).
Best ask price
Example entry 101 (in the selected currency).
Worked example
| Input | Value |
|---|---|
| Best bid price | 99 |
| Best ask price | 101 |
| Result | Value |
|---|---|
| Spread in basis points | 200 |
| Quote midpoint | 100 |
| Spread per unit | 2 |
Calculation steps
Spread in basis points = ((20,000 × (Best ask price − Best bid price)) ÷ (Best ask price + Best bid price))
((20,000 × (101 − 99)) ÷ (101 + 99)) = 200
Quote midpoint = ((Best ask price + Best bid price) ÷ 2)
((101 + 99) ÷ 2) = 100
Spread per unit = (Best ask price − Best bid price)
(101 − 99) = 2
How each input affects this example
Each row starts from the worked example and changes one input.
| Input | Original input | New input | Affected result | Original result | New result |
|---|---|---|---|---|---|
| Best bid price | 99 | 89 | Spread in basis points | 200 | 1,263.157895 |
| Best ask price | 101 | 111 | Spread in basis points | 200 | 1,142.857143 |
