Formula and worked example
The Kimp Index formula in full, with a step-by-step BTC example from Upbit KRW price, USDKRW and global USD price to a value in basis points.
This page defines the Kimp Index formula and walks through one computation from raw inputs to the published value.
Formula#
kimp = (P_upbit_krw / USDKRW) / P_global_usd − 1kimp_bps = kimp × 10,000| Symbol | Meaning |
|---|---|
| P_upbit_krw | Last trade price of KRW-ASSET on Upbit, in KRW |
| USDKRW | Mid-market USD/KRW reference rate, in KRW per USD |
| P_global_usd | Median of Binance ASSET/USDT, Coinbase ASSET/USD and OKX ASSET/USDT, in USD |
| kimp | Premium as a fraction; signed |
| kimp_bps | Premium in basis points; the published value |
USDT is quoted at par with USD. Source rules, including what happens when a venue is unavailable, are in Sources.
Worked example: BTC#
Assume the following inputs at one epoch.
| Input | Value |
|---|---|
| Upbit KRW-BTC last trade | 148,500,000 KRW |
| USDKRW mid | 1,380.00 |
| Global BTC median | 105,000 USD |
Step 1: convert the Upbit price to USD#
P_upbit_usd = P_upbit_krw / USDKRW = 148,500,000 / 1,380.00 = 107,608.70 USDStep 2: divide by the global price#
ratio = P_upbit_usd / P_global_usd = 107,608.70 / 105,000 = 1.024845Step 3: subtract one#
kimp = 1.024845 − 1 = 0.024845Step 4: convert to basis points#
kimp_bps = 0.024845 × 10,000 = 248.45 → +248 bpsThe published value is +248 bps. Bitcoin trades 2.48% higher on Upbit than on global markets at this epoch.
Rounding#
Reporters compute the premium at full precision and round to the nearest whole basis point before signing, with halves rounded away from zero. The on-chain value is a signed integer. In the example, 248.45 bps rounds to +248 bps.
Intermediate rounding in the steps above is for display only. A reporter computes the ratio in one pass without rounding the USD-converted price.
Reverse premium#
The same formula produces negative values when Upbit trades below the global price. With the same USDKRW and global price, an Upbit price of 143,000,000 KRW gives:
P_upbit_usd = 143,000,000 / 1,380.00 = 103,623.19 USDkimp = 103,623.19 / 105,000 − 1 = −0.013112kimp_bps = −131.12 → −131 bpsA negative value is a reverse premium (역프). Contracts treat it like any other value on a signed scale.
Sensitivity#
The index moves when any input moves.
- A 1% rise in the Upbit KRW price, all else equal, raises the index by about 102 bps at this level.
- A 1% rise in USDKRW, all else equal, lowers the index by about 101 bps, because the same KRW price converts to fewer dollars.
- A 1% rise in the global price lowers the index by about 101 bps.
This is why the FX reference is treated with the same care as the price sources. An FX error is a premium error.
From one value to the on-chain index#
Each active reporter performs this computation independently for every asset, once per epoch. The contract takes the median of valid reports. See Sampling and median and Reporter set.