Bid-ask spread in basis points · Calculation guide

Measure the quoted spread relative to the midpoint.

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

InputValue
Best bid price99
Best ask price101
ResultValue
Spread in basis points200
Quote midpoint100
Spread per unit2

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.

InputOriginal inputNew inputAffected resultOriginal resultNew result
Best bid price9989Spread in basis points2001,263.157895
Best ask price101111Spread in basis points2001,142.857143
Bid-ask spread in basis points →

Sources