Home › Templates › Crypto funding rate tracker
Crypto Funding Rate Tracker Spreadsheet
A free funding rate tracker for Excel and Google Sheets. Log each funding payment on your perpetual futures positions (time, size, mark price, rate) and it works out what you paid or received with the right sign for long and short, the running total per position, the annualised funding rate, and how much funding added to or took from your PnL, by position, exchange and symbol.
Use it in Google Sheets: choose File → Import → Upload in Sheets and pick the .xlsx, or upload it to Google Drive and open it with Google Sheets. The formulas are standard SUMIFS, COUNTIFS and INDEX/MATCH.
| ID | Exchange | Symbol | Side | Interval | Payments | Net funding (USDT) | Annualised rate | Your annualised funding | Price PnL | Funding ÷ |price PnL| |
|---|---|---|---|---|---|---|---|---|---|---|
| P1 | Exchange A | BTCUSDT | Long | 8 h | 9 | −30.06 | 11.39% | −11.39% | 612.40 | −4.91% |
| P2 | Exchange B | ETHUSDT | Short | 4 h | 12 | +12.64 | 9.28% | +9.28% | −185.00 | +6.83% |
| P3 | Exchange C | SOLUSDT | Long | 1 h | 24 | +9.75 | −12.52% | +12.52% | 96.50 | +10.10% |
| P4 | Exchange A | ETHUSDT | Long | 8 h | 6 | −5.43 | 7.85% | −7.85% | 240.00 | −2.26% |
| All positions | 51 | −13.11 | 763.90 | −1.72% | ||||||
P1 BTC long, 8 hP2 ETH short, 4 hP3 SOL long, 1 hP4 ETH long, 8 h (open)
What's inside the spreadsheet
| Tab | What you type | What it calculates |
|---|---|---|
| Start here | Nothing | Steps, sign convention, formulas in plain words, sources, limits, disclaimer |
| Settings | Up to 8 exchanges with their default funding interval in hours (pre-filled: Binance, Bybit, OKX, Deribit at 8 h, change as needed), up to 20 symbols, settlement currency label | Payments per day and per year for each interval |
| Positions | Up to 100 positions: ID, exchange, symbol, Long/Short, open and close time, optional interval override, price PnL excluding funding and fees, trading fees | Status check; interval used; payments logged; funding paid, received and net; average notional; notional-weighted rate per interval and annualised; your annualised funding (+ earned / − cost); net PnL after funding and fees; net funding as % of price PnL |
| Funding log | Up to 2,000 rows: funding time (UTC), position ID, size, mark price, funding rate; optional notional override and the amount the exchange shows | Row check; exchange, symbol, side and interval looked up from the position; notional; funding to you with the sign applied; running total per position; annualised rate; difference vs the exchange's figure |
| Summary | Nothing | Totals (paid, received, net, PnL after funding and fees, rows to check); tables by exchange and by symbol; a native column chart of net funding by exchange |
| Example settings, Example positions, Example funding log, Example summary | Already filled with fictional data (change any yellow cell) | The same calculations on 51 fictional funding payments across 4 positions |
How to use it
- On Settings, check the exchange list and the default funding interval for each (8, 4 or 1 hours). Add the symbols you trade.
- On Positions, add a row per position with a short unique ID (P1, P2…), exchange, symbol and side. If one contract settles on a different schedule than the exchange default, type its interval in the override column.
- Open the exchange's funding history. On Funding log, add one row per payment: time in UTC, position ID, position size in coins, mark price at the funding time and the funding rate exactly as shown, typed as a percent (0.0100%).
- Optional: type the amount the exchange shows for that payment (+ if you received it, − if you paid it). The Difference vs exchange column shows any gap.
- When you close a position, or for an open one at any time, type its price PnL excluding funding and fees, and the trading fees. Read the result on Positions and Summary. Log rows to check should be 0.
Sign convention
You never type a minus sign for direction. Type the rate as the exchange shows it; the sheet applies the side.
| Funding rate | Long position | Short position |
|---|---|---|
| Positive (e.g. 0.0100%) | Pays: funding to you is negative | Receives: funding to you is positive |
| Negative (e.g. −0.0050%) | Receives: positive | Pays: negative |
Bybit states the rule this way: "When the funding rate is positive, long position holders pay short position holders. When the funding rate is negative, short position holders pay long position holders" (Bybit Help Center, Funding Fee Calculation).
How funding is calculated: what the exchanges say
All four exchanges below were checked on 7 November 2026. The formula is the same on Binance, Bybit and OKX; Deribit adds a time fraction because its funding accrues continuously.
| Exchange | Formula (quoted) | Position value | Interval |
|---|---|---|---|
| Binance | "Funding Amount = Nominal Value of Positions * Funding Rate" | "Mark Price * Size of a Contract" | "The default funding interval is every 8 hours at 00:00 (UTC), 08:00 (UTC), and 16:00 (UTC)." Can move to every hour when the rate hits its cap or floor. |
| Bybit | "Funding fee = Position value × Funding rate" | "Contract quantity × Mark price" (USDT and USDC contracts) | "Each trading pair may have different funding intervals and funding rate limits." |
| OKX | "Funding fee = Position value × Funding rate" | "Number of contracts × Contract size × Contract multiplier × Mark price" (USDT/USDC-margined) | "every 8 hours (00:00, 08:00, and 16:00 UTC) by default, unless specified otherwise (i.e. every 1, 2 or 4 hours)" |
| Deribit | "Funding Payment = Funding Rate * Position Size * Time Fraction" | Position size | "the funding rate is expressed as an 8-hour interest rate, however funding is actually calculated and paid/received continuously". Moved to cash "at the daily settlement, at 08:00 UTC". |
Two details matter for a log. First, timing: Binance says "You are only liable for funding payments in either direction if you have open positions at the pre-specified funding times", and OKX says "If you close your position before the funding fee assessment, you're exempt from paying or collecting the fee." Second, the rate is per interval. Binance's funding rate formula ends with "/ (8 / N)", where "N is Funding Interval"; OKX's one-hour worked example gives "0.05% / (8 / 1) = 0.00625% per 1-hour period". So a 1-hour contract shows a rate about one eighth the size of an 8-hour one for the same pressure. Compare contracts on the annualised rate, not on the raw rate.
Coin-margined (inverse) contracts pay funding in the coin, and their position value is divided by the mark price: Bybit gives "Position value = Contract quantity ÷ Mark price". For those, type the position value in coins in the Notional override column and keep them in a separate copy of the file, so USDT and coin amounts are not added together.
The formulas, explained
In words, for each funding payment:
notional = size × mark pricefunding to you = −notional × rate (long) or +notional × rate (short)annualised rate = rate × (24 ÷ interval hours) × 365For a position, exchange or symbol, the average rate is weighted by notional: Σ(notional × rate) ÷ Σ notional, so a payment on a larger position counts more. The annualised version uses the same weights. "Your annualised funding" flips the sign for longs, so it reads + when funding was income and − when it was a cost. "Net funding as % of price PnL" is net funding ÷ |price PnL|: −10% means funding took away a tenth of the size of the price result.
Exact formulas from the blank tabs (row 6). In the file, the Funding log formulas are wrapped in IF(I6="OK", …, "") so nothing shows until the row is complete. Functions used: SUMIFS, COUNTIFS, COUNTIF, COUNTA, INDEX, MATCH, IF, IFERROR, AND, OR, NOT, ISNUMBER, ISNA, N, ABS, SUM.
| Field | Formula |
|---|---|
| Notional (Funding log N6) | =IF(ISNUMBER(F6),F6,C6*D6) |
| Funding to you, + received / − paid (Funding log O6) | =IF(L6="Long",-1,1)*N6*E6 |
| Cumulative funding for this position (Funding log P6) | =SUMIFS($O$6:O6,$B$6:B6,B6) |
| Annualised rate (Funding log Q6) | =E6*24/M6*365 |
| Difference vs the exchange's figure (Funding log R6) | =IF(AND(I6="OK",ISNUMBER(G6)),O6-G6,"") |
| Interval used: override or exchange default (Positions J6) | =IF(A6="","",IF(N(G6)>0,G6,IFERROR(IF(INDEX(Settings!$B$6:$B$13,MATCH(B6,Settings!$A$6:$A$13,0))>0,INDEX(Settings!$B$6:$B$13,MATCH(B6,Settings!$A$6:$A$13,0)),""),""))) |
| Funding paid per position (Positions M6) | =IF(K6="OK",-SUMIFS('Funding log'!$O$6:$O$2005,'Funding log'!$B$6:$B$2005,A6,'Funding log'!$O$6:$O$2005,"<0"),"") |
| Notional-weighted annualised rate (Positions R6) | =IF(AND(K6="OK",N(L6)>0),IFERROR(SUMIFS('Funding log'!$T$6:$T$2005,'Funding log'!$B$6:$B$2005,A6)/SUMIFS('Funding log'!$N$6:$N$2005,'Funding log'!$B$6:$B$2005,A6),""),"") |
| Your annualised funding, + earned / − cost (Positions S6) | =IF(ISNUMBER(R6),IF(D6="Long",-1,1)*R6,"") |
| Net PnL after funding and fees (Positions T6) | =IF(K6="OK",N(H6)+O6-N(I6),"") |
| Net funding as % of price PnL (Positions U6) | =IF(AND(K6="OK",ISNUMBER(H6)),IF(H6=0,"",O6/ABS(H6)),"") |
Worked example from the sample data
The Example tabs follow four fictional positions on three made-up exchanges with 8-hour, 4-hour and 1-hour intervals. The first three funding payments of P1, a 0.5 BTC long on Exchange A:
| Funding time (UTC) | Size | Mark price | Notional | Rate | Funding to you | Cumulative | Annualised |
|---|---|---|---|---|---|---|---|
| 1 Sep 2026 08:00 | 0.5 | 64,238.46 | 32,119.23 | 0.0109% | −3.5010 | −3.5010 | 11.94% |
| 1 Sep 2026 16:00 | 0.5 | 64,476.33 | 32,238.17 | 0.0128% | −4.1265 | −7.6275 | 14.02% |
| 2 Sep 2026 00:00 | 0.5 | 64,584.24 | 32,292.12 | 0.0126% | −4.0688 | −11.6963 | 13.80% |
- First payment: notional = 0.5 × 64,238.46 = 32,119.23 USDT. The rate is 0.0109% and the position is long, so funding to you = −32,119.23 × 0.0109% = −3.5010 USDT (paid).
- Annualised: 0.0109% × (24 ÷ 8) × 365 = 11.94% a year.
- P1 in total: 9 payments, −30.06 USDT net, a notional-weighted annualised rate of 11.39%. Against a price gain of 612.40, funding was −4.91% of the price PnL. After 32.10 of trading fees the position made 550.24.
- P2, the short: ETH short of 10 on a 4-hour schedule. When the rate was positive, the short received. When it turned negative (−0.0003% on 3 Sep 2026 16:00), the short paid −0.0748. Net over 12 payments: +12.64 USDT, which softened a price loss of −185.00.
- P3, negative rates: a SOL long on an hourly schedule with small negative rates. The long received every hour: +9.75 over 24 payments. Its average rate per interval is only −0.0014%, but annualised that is −12.52%, larger than P1's 11.39%. That is why the sheet annualises before comparing.
- P4, an open position that grew: the size goes from 4 to 6 ETH on the fourth payment. Each row uses the size held at that funding time, so the notional and the payment rise with it.
By exchange, the example summary shows Exchange A −35.49, Exchange B +12.64 and Exchange C +9.75 USDT. In total, funding paid was 37.26, received 24.15, net −13.11 USDT.
Common mistakes
- Typing 0.01 instead of 0.01%. 0.01 is 1%, a hundred times too big. The rate column only accepts values between −50% and +50%, and every exchange shows the rate as a percent.
- Using the entry price. All three formula pages use the mark price at the funding time, not your entry price. A position opened at a lower price pays funding on its current value.
- Flipping the rate's sign for a short. Type the market rate as shown. The Side column does the flip.
- Comparing raw rates across intervals. 0.005% every hour is more than 0.01% every 8 hours: 43.80% a year vs 10.95%.
- Assuming the interval never changes. Binance and OKX can switch a contract to hourly settlement when the rate hits its cap or floor. If a position's schedule changed, log each payment's own rate and set the override, or split it into two position rows.
- Counting funding in price PnL twice. Some exchange PnL figures already include funding. Type the price PnL excluding funding and fees, or the net result counts funding twice.
Limits
- One settlement currency per file. Coin-margined positions need a separate copy (see above).
- Deribit funding accrues continuously. Logging one row per 8 hours, or the daily amount Deribit shows, is an approximation of the exact accrual.
- The annualised rate is simple (rate × payments per year), not compounded, and assumes the rate stays where it is. Funding rates change at every interval.
- The sheet records what you paid and received. It does not predict the next rate or calculate liquidation prices. For a single trade's profit use the crypto profit calculator; for margin, the margin calculator. To keep a full trade-by-trade record with fees and R-multiples, use the crypto trading journal and paste each position's net funding from this file.
- Recalculation was tested in LibreOffice. The functions exist in Excel 2016+ and Google Sheets; the file was not opened in those programs for this check.
FAQ
How is the funding fee calculated on perpetual futures?
Binance, Bybit and OKX use the same core formula: funding = position value × funding rate. Binance writes it as "Funding Amount = Nominal Value of Positions * Funding Rate", where nominal value = mark price × size. Bybit's worked example: a long of 10 BTC at a mark price of 8,000 USDT with a 0.01% rate gives a position value of 80,000 USDT and a funding fee of 8 USDT, which the long pays.
Who pays funding, longs or shorts?
It depends on the sign of the rate. Bybit: "When the funding rate is positive, long position holders pay short position holders. When the funding rate is negative, short position holders pay long position holders." Binance and OKX state the same rule. The exchanges pass funding between traders: Binance says it "does not charge fees on Funding Payments".
How often is funding paid?
The default on Binance and OKX is every 8 hours at 00:00, 08:00 and 16:00 UTC. OKX adds "unless specified otherwise (i.e. every 1, 2 or 4 hours)", and Bybit says "Each trading pair may have different funding intervals". Deribit is different: funding is "calculated and paid/received continuously" and the rate is shown as an 8-hour rate. Always check the contract's specifications.
How do I annualise a funding rate?
Multiply the rate per interval by the number of intervals in a year: rate × (24 ÷ interval hours) × 365. A 0.01% rate every 8 hours is 0.01% × 3 × 365 = 10.95% a year; a 0.00625% rate every hour is 54.75% a year. This is a simple rate, not compounded, and it assumes the rate stays the same, which it rarely does.
Do I pay funding if I close before the funding time?
On Binance, no: "If you close your position prior to the funding time, you will not pay or receive any funding." Binance also notes "a 15-second deviation in the actual funding fee transaction time". OKX: "If you close your position before the funding fee assessment, you're exempt from paying or collecting the fee." Deribit accrues funding for every moment a position is open.
Can I use this funding rate tracker in Google Sheets?
Yes. Choose File → Import → Upload in Google Sheets and pick the .xlsx, or upload it to Google Drive and open it with Google Sheets. It uses only SUMIFS, COUNTIFS, INDEX/MATCH and other standard functions, with no macros.
Related tools and templates
- Futures calculatorP/L, tick value and margin for futures
- Crypto profit calculatorProfit on a single crypto trade
- Crypto trading journalSpot and perp trades with fees and funding
- Crypto portfolio trackerHoldings, value and allocation
- Crypto tax spreadsheetGains and losses for tax records
- Margin calculatorMargin needed for a leveraged position
- Position size calculatorSize a trade from your risk
- All templatesFree spreadsheets
Educational template only, not investment, trading or tax advice. Perpetual futures use leverage and can lose money quickly. Example data is fictional: Exchanges A, B and C, the positions, prices, funding rates and PnL are made up to show the formulas and are not a forecast or a typical result. Exchange rules are quoted from the Binance, Bybit, OKX and Deribit help pages linked above, retrieved on 7 November 2026; they can change, so check the contract specifications on your exchange.