Futures
Hundreds of contracts settled in USDT or BTC
TradFi
Gold
One platform for global traditional assets
Options
Hot
Trade European-style vanilla options
Unified Account
Maximize your capital efficiency
Demo Trading
Futures Kickoff
Get prepared for your futures trading
Futures Events
Join events to earn rewards
Demo Trading
Use virtual funds to experience risk-free trading
Launch
CandyDrop
Collect candies to earn airdrops
Launchpool
Quick staking, earn potential new tokens
HODLer Airdrop
Hold GT and get massive airdrops for free
Launchpad
Be early to the next big token project
Alpha Points
Trade on-chain assets and earn airdrops
Futures Points
Earn futures points and claim airdrop rewards
Grid profit is the foundation of income for a spot grid bot: a complete guide to calculating P&L
If you plan to use grid bots for automated trading, it’s essential to understand how profit is calculated. Grid profit is the main indicator of strategy effectiveness, but it’s not the only metric for success. In this guide, we’ll explore what grid profit is in practice, how to calculate it, and how it relates to overall profit and loss (P&L). We will go through the full calculation cycle with specific examples to help you properly evaluate your investments.
What is grid profit: key concepts
Grid profit is income generated solely from automatically executing multiple small trading cycles within a set price range. When the asset’s price fluctuates up and down, the grid bot performs a series of micro-trades, buying at low levels and selling at high levels. Each mini-trade yields a small profit, but when hundreds or thousands of such trades accumulate, the total becomes significant.
It’s important to distinguish:
Understanding this difference is critical because grid profit is a guaranteed, realized result of trading, while total P&L is affected by market volatility.
Formula and step-by-step example of calculating grid profit
Grid profit is calculated using the following formula:
Grid profit = Number of sales × Sale price × (1 − fee rate) − Number of purchases × Purchase price
Let’s apply this formula in practice. Suppose trader Alexey creates a grid trading strategy with these parameters:
Note: Current BTC price is $68,230 (data as of 2026-02-21). The example parameters are for educational purposes.
When the strategy is activated, the grid bot automatically places orders as follows:
When BTC’s price drops to 53,000 USDT, the first buy order executes. Then, when the price rises to 57,000 USDT, the first sell order triggers. The difference between the sale price (57,000) and purchase price (53,000) is 4,000 USDT per unit.
Calculating a specific trade:
Remember, grid profit is the income already earned from completed trading cycles, and it does not depend on the future market direction.
Grid APR: annualized return from automated trading
To compare the effectiveness of different strategies, traders use annual percentage rate (APR). Grid APR indicates what return in percentage terms you would get over a year if the current profit level remains unchanged.
Grid APR formula:
Grid APR = [(Grid profit ÷ Investment amount) ÷ Trading days × 365] × 100%
In Alexey’s example, if his grid bot runs 24 hours (1 day):
Grid APR = [(341.81 ÷ 23,610) ÷ 1 × 365] × 100% ≈ 528.42%
This impressive figure reflects the potential annual return assuming market conditions stay the same. However, in real trading, the market constantly changes, so the actual APR will vary depending on volatility and order execution frequency.
Practical tip: A high Grid APR can be attractive, but remember it’s based on a short period. Monitor actual results over several weeks and months for a more realistic assessment.
Total P&L: the full picture of your profit or loss
Total P&L is not just the sum of all grid profits. It’s a combined result that includes both trading income and the profit or loss from changes in the underlying asset’s value (in this case, BTC).
Total P&L formula:
Total profit = (Value of base tokens + Value of quote tokens) − Initial investment
Returning to Alexey’s example, after completing several grid cycles, his balances look like:
If BTC’s price at the time of calculation is 57,000 USDT:
Total P&L = (57,000 × 0.17574172 + 14,452.26) − 23,610 ≈ 859.54 USDT
This means that even if BTC’s price has slightly fallen from its maximum, the overall result remains positive thanks to accumulated grid profit. However, if BTC’s price drops significantly below the entry point, the total P&L could be negative despite positive grid profit.
Overall APR: annualized return considering all factors
Similar to Grid APR, Total APR converts total P&L into a yearly figure for better comparison.
Total APR formula:
Total APR = [(Total P&L ÷ Investment amount) ÷ Trading days × 365] × 100%
For Alexey, working for 24 hours:
Total APR = [(859.54 ÷ 23,610) ÷ 1 × 365] × 100% ≈ 13.29%
Note the difference: Grid APR was 528.42%, but Total APR is only 13.29%. This shows that while individual trading cycles are highly profitable, the overall return is significantly affected by price movements of the underlying asset.
Practical example: how grid profit works in real trading
Let’s see how grid profit accumulates over time. Imagine BTC’s price fluctuates between 48,000 and 62,000 USDT. In this range, the grid bot can execute dozens or even hundreds of trading cycles per day.
Each cycle yields a small profit (a few hundred USDT), but collectively, they generate substantial income. The advantage of grid trading is that it works equally well in rising and falling markets, as long as the price stays within the set range.
Key points to remember:
Understanding that grid profit is a specific type of income that can be systematically calculated and forecasted should give you more confidence in applying grid bots in your trading practice.