Crypto Calculator

The Crypto Calculator is an all-in-one tool that works out your profit and ROI on a buy and sell, sizes how much of a coin to buy for a given risk, and averages your price after buying in twice. You pick a tab, enter your trade, account or purchase details, and it returns your profit, the coins to buy, or your average price, before you commit to a volatile coin.

Prices as of —

Enter your buy price, sell price and quantity to get your crypto profit and ROI.

Advanced options
Profit / Loss
+$5,000.00
+33.33% ROI · 0.5 BTC
ROI
+33.33%
Cost basis
$15,000.00
Break-even
$30,000.00

Buying 0.5 BTC at $30,000.00 and selling at $40,000.00 gives +$5,000.00 (+33.33%). For short trades, detailed fees and amount↔quantity, use the Crypto Profit Calculator.

Show the math
+$5,000.00 = ($40,000.00 − $30,000.00) × 0.5 BTC
eToro
Rated 78/100 by InvestinGoal
  • Minimum deposit: $50
Visit eToro
Reviewed by Filippo Ucchino Founder, InvestinGoal

These results are estimates for educational purposes only and are not financial, investment or tax advice.

What is a crypto calculator?

A crypto calculator is an all-in-one tool that works out your profit and ROI on a buy and sell, how much of a coin to buy for a given risk, and your average price after buying in more than once. It bundles three related crypto calculations into one tool, arranged as three tabs. The Profit / ROI tab returns the gain, loss and return on a coin you have bought and sold. The Position size tab returns how many coins to buy so a losing trade costs only the amount you decided to risk. The Average buy tab returns your weighted-average price across two purchases of the same coin.

Each tab is the quick version, built for a fast answer with the fewest inputs. When you need depth, such as short positions, per-leg maker and taker fees, buying by dollar amount, a value in satoshis or drops, or a staking projection, the dedicated crypto profit, Bitcoin, XRP and staking calculators go further. The coin you pick pre-fills the current price from the latest published price on the Profit and Position size tabs, and that price is only a starting point you can type over.

Why is the crypto calculator important for trading?

The crypto calculator is important for trading because it turns your potential profit, the capital you put at risk and your average entry into concrete numbers before you buy, sell or add to a coin, which is exactly what a volatile market makes easy to guess and expensive to guess wrong. The cost of skipping it is buying without knowing your break-even, risking too much of your account on a single coin, or averaging down with no idea what it does to your cost basis. Knowing the profit, the coins your risk actually allows and your true average price first is what separates a position you have measured from one you have assumed.

Traders reach for each tab at a different moment around a trade. You use the Profit / ROI tab before or after a sale to measure the return, the Position size tab before you open a position to size it from your risk rather than a round number, and the Average buy tab when you add to a coin you already hold. Measuring the money at stake before you commit it is the core discipline of online trading, where a planned risk is one you have quantified and a guess is one you have not.

How do you use the crypto calculator for crypto trading?

To use the crypto calculator, pick the tab for the question you have, enter the inputs it shows, and the tool returns your profit and ROI, the coins to buy, or your average price when you press Calculate.

The steps to use the crypto calculator are listed below:

  1. Select a tab. Choose Profit / ROI to measure a buy and sell, Position size to size a new trade from your risk, or Average buy to average two purchases of the same coin.
  2. Enter your trade on the Profit / ROI tab. Pick the coin, type your buy price, sell price and quantity, and add a fee if you paid one; the tool returns your profit, ROI, cost basis and break-even.
  3. Enter your account on the Position size tab. Type your account balance, the risk per trade as a percent, your entry price and your stop-loss price; the tool returns how many coins to buy for that risk.
  4. Enter your buys on the Average buy tab. Type the first quantity and first price, then the second quantity and second price; the tool returns your average price and total coins.

Every result updates when you press Calculate, and on the Profit and Position size tabs the coin you pick pre-fills the latest published price into the sell and entry fields, each shown with a "Prices as of" date; the Average buy tab uses the historical prices you type yourself. Open Advanced options to set a fee percent. Every price and result is in US dollars, the currency the published crypto prices are quoted in. Because profit, risk-based sizing and average cost are the everyday sums of crypto trading, the tool is built around a coin, its price and your quantity rather than shares or contracts.

What formula does the crypto calculator use to work out profit and ROI?

The formula the crypto calculator uses on the Profit tab is your quantity multiplied by the gap between the sell and buy prices, minus any fees, with ROI as that profit divided by your cost basis.

profit=(sell pricebuy price)×quantityfees

In this formula, buy price and sell price are the prices per coin, quantity is how much of the coin you hold in whole units or fractions, and fees are the trading costs across the buy and the sell. The cost basis is your buy price times quantity plus the buy-side fee, and ROI is the profit divided by that cost basis, times 100.

Filling in the canonical example, a 0.5 BTC buy at $30,000 sold at $40,000 with no fee gives ($40,000 − $30,000) × 0.5 = +$5,000.00, a +33.33% ROI on the $15,000.00 cost basis.

Because profit is linear in the sell price, the same 0.5 BTC bought at $30,000 scales cleanly:

Sell priceProfit / LossROI
$30,000.00$0.000.0%
$35,000.00+$2,500.00+16.67%
$40,000.00+$5,000.00+33.33%
$45,000.00+$7,500.00+50.0%

This quick formula uses one simple fee per trade and no tax; for short positions, per-leg maker and taker fees and buying by dollar amount, the dedicated crypto profit calculator carries the full version. The other two tabs use their own one-line formulas: coins to buy is (account × risk %) ÷ (entry price − stop-loss price), and average price is total cost ÷ total coins.

What is an example of a crypto profit calculation?

An example of a crypto profit calculation is buying 0.5 BTC at $30,000 and selling at $40,000 with no fee, which returns a +$5,000.00 profit and a +33.33% ROI, worked out as follows:

  1. Cost basis = $30,000.00 × 0.5 BTC = $15,000.00.
  2. Profit / Loss = ($40,000.00 − $30,000.00) × 0.5 BTC = +$5,000.00.
  3. ROI = $5,000.00 ÷ $15,000.00 × 100 = +33.33%.

This matches the tool's "Show the math" line: +$5,000.00 = ($40,000.00 − $30,000.00) × 0.5 BTC, with the break-even at $30,000.00 because there is no fee to recover. Adding a 0.5% fee per trade charges both legs, so total fees are $175.00, the net profit falls to +$4,825.00, the cost basis rises to $15,075.00, and the ROI settles at +32.01%.

How do you read the crypto calculator's results?

You read the crypto calculator's results by taking each tab's headline figure as the answer to its question, then reading the interpretation line beneath it that puts the number in the context of your decision. On the Profit / ROI tab, the headline is the profit or loss, shown in green for a gain and red for a loss, and the line reads it back: buying 0.5 BTC at $30,000 and selling at $40,000 gives +$5,000.00 (+33.33%). On the Average buy tab, the headline is the average price, and the line states that two buys give an average of $35,000.00 across 1.0 BTC.

The Position size tab reads against your risk. A widely cited guideline is to risk no more than 1 to 2% of your account per trade, and because crypto moves further and faster than most assets, the tool flags anything above 3% as aggressive:

Risk per tradeReadingWhat the tool shows
Up to 2%StandardSized within the common guideline
Above 2% up to 3%BorderlineGetting aggressive on a volatile coin
Above 3%AggressiveFlagged with a warning

At the default 2% risk, sizing $200.00 against a $3,000.00 stop distance buys 0.06667 BTC, a $2,000.00 position. The Profit and Position size figures depend on a published price, so both carry a "Prices as of" date; if that feed is more than 60 minutes old the tool still calculates but marks the price as delayed, which is your cue to refresh it before you act.

What are the limits of the crypto calculator?

The crypto calculator has real limits: it returns an estimate built from the inputs you give it and, on two of its three tabs, from a published price, and it leaves out the trading costs that sit between this math and your actual result. Each tab is the quick version. The Profit tab takes one simple fee and does not handle short positions, per-leg maker and taker fees or buying by dollar amount, which live in the dedicated crypto profit calculator; a holding's value in satoshis or drops belongs to the Bitcoin and XRP calculators, and compound staking rewards to the staking calculator.

The tool does not include network or gas fees, exchange slippage or the spread on thinly traded coins, and it does not calculate tax. Crypto capital gains are reportable, and in the United States are moving onto Form 1099-DA from 2025, which is the job of a dedicated crypto tax calculator rather than this one. On the Profit and Position size tabs the pre-filled price is the latest published price, carrying its own date: if the feed is stale the result is marked delayed, and if it is unavailable the price fields simply stay editable so you can type your own, while the Average buy tab needs no feed at all. Because crypto is highly volatile, a real profit or loss shifts with the intraday price, so treat every figure as a snapshot. This is an educational tool, not investment, financial or tax advice.

What are common mistakes when using the crypto calculator in risk management?

The most common mistakes when using the crypto calculator are risking too much on one trade, confusing balance with equity, and averaging down without a plan, each of which makes a position look safer than it is. These are errors of risk management as much as of arithmetic, because every one of them understates how much a volatile coin really puts at stake.

  • Risking too much per trade. Sizing a position above the common 1 to 2% of your account on a single coin, which the Position size tab flags above 3%, means one bad trade does outsized damage.
  • Confusing balance with equity. Sizing from your headline balance while other positions are open, rather than the equity you could actually lose, overstates how much you can safely commit.
  • Averaging down without a plan. The Average buy tab lowers your cost basis, but adding to a falling coin also raises your exposure to a thesis that may simply be wrong.
  • Forgetting exchange costs. Ignoring maker and taker fees, network or gas fees and slippage lets the quick ROI overstate what you actually keep.
  • Trusting a stale price. Sizing a trade around a price flagged as delayed, on an asset that moves every minute, quietly misstates both your position value and your risk.

Reading these figures as part of a wider risk management routine, rather than as one-off numbers, is what turns the calculator from a convenience into a check on the size of the risk you are taking.

What is the difference between a crypto average buy calculation and a dollar-cost-averaging calculation?

A crypto average buy calculation differs from a dollar-cost-averaging calculation in that an average buy is the weighted-average price of specific purchases you have already made, at the quantities and prices you choose, while dollar-cost averaging is a plan to invest a fixed amount at regular intervals regardless of the price. They are easy to confuse because both lower the effect of any single entry, but one is a reactive measurement of buys you decide, and the other is a systematic rule the schedule decides for you.

AttributeCrypto average buyDollar-cost averaging
What it isWeighted-average price of specific buysA plan to invest a fixed amount on a schedule
When you use itAfter buying in, to see your cost basisAs an ongoing rule, whatever the price
What you enterThe quantity and price of each buyA fixed amount, an interval and a period
Driven byThe prices you actually paidThe schedule, not the price
In this toolThe Average buy tabProjected by a dollar-cost-averaging calculator

The Average buy tab answers the first question: two buys of 0.5 BTC at $30,000 and $40,000 give a $35,000.00 average. If instead you want to model investing a set sum every week or month, that systematic version of dollar-cost averaging is projected by the dedicated DCA calculator, which is where anyone searching for the recurring-investment method should go.

Which calculators are related to the crypto calculator?

The calculators related to the crypto calculator are the dedicated crypto and growth tools this hub links out to, each owning one calculation the all-in-one page only touches. The calculators related to the crypto calculator are listed below:

  • Crypto profit calculator: the deep version of the Profit tab, with short positions, per-leg fees and buying by dollar amount.
  • Bitcoin calculator: works out what a Bitcoin holding is worth in dollars and satoshis, plus your BTC profit.
  • XRP calculator: the same for XRP, in dollars and drops, with your per-coin profit.
  • Crypto staking calculator: projects staking rewards with compounding, which this page leaves out.
  • DCA calculator: models dollar-cost averaging, investing a fixed amount at regular intervals over time.
  • Investment calculator: projects how a lump sum or contributions could grow at a chosen rate.
  • CAGR calculator: works out the compound annual growth rate between a start and end value.

Each opens as its own tool, so use this page for quick profit, sizing and averaging, and the dedicated calculators when you need the depth they are built for.

FAQ

How do I calculate my profit and ROI on crypto?

Profit is (sell − buy) × quantity − fees, and ROI is that profit divided by your cost basis. Buying 0.5 BTC at $30,000 and selling at $40,000 with no fee is a +$5,000.00 profit and a +33.33% ROI on the $15,000 invested. A 0.5% fee on both legs would trim the profit to +$4,825.00 and the ROI to +32.01%.

How do I size a crypto position by risk?

Divide the money you are willing to risk by your per-coin risk, which is the entry price minus your stop-loss. Risking 2% of a $10,000 account ($200) with a $3,000 stop distance buys 0.06667 BTC, a $2,000 position, whatever the coin price happens to be. Because coins are fractional, the amount is not rounded to whole units.

How does averaging into a coin change my cost basis?

It replaces your entry with a weighted average of every buy. Buying 0.5 BTC at $30,000 and another 0.5 BTC at $40,000 gives ($15,000 + $20,000) ÷ 1.0 BTC = $35,000.00. The average always sits between your buy prices, pulled toward wherever you put the most money, so a larger or cheaper buy moves it more.

Where do the prices come from?

The coin you pick pre-fills the current price from InvestinGoal's published price feed, and the "Prices as of" date is shown under the result. That price is only a default: every price field is editable, so you can enter the exact price you bought or sold at. If the feed is unavailable, the fields stay editable and you type the prices in yourself.

What's the difference between this and the Crypto Profit or Bitcoin calculators?

This page gives fast answers with the fewest inputs and acts as the hub for the crypto family. The crypto profit calculator adds short positions, per-leg fees and buying by dollar amount; the Bitcoin and XRP calculators add value in satoshis and drops plus per-coin profit; the staking calculator projects rewards with compounding. Use the tabs to start, the leaves to go deep.

This tool is for education, not financial advice. Crypto is highly volatile and can fall as well as rise, and tax on any gains is your own responsibility. Always confirm your fees, prices and risk against your exchange or broker before you trade.

Select your language

English (Nigeria) country flag English (Nigeria)