• Originally published: 12/05/2018 17:40
Last version published: 24/10/2019 11:20
Publication number: ELQ-93697-10
View all versions & Certificate

# Bitcoin Cryptocurrency FIFO Gain Excel Calculator for Taxation

Best FIFO Excel tool with Google sheet for calculation of trading gains in bitcoin, crypto and stocks using FIFO method.

Description
You will just have to put your trading details i.e. Transaction Type (buy/sale), Date & Time of Transaction, BTC Quantity in columns A:D and sheet will automatically calculate FIFO gains and other important data for every row. You will see Gain/Loss after every transaction on FIFO basis in column U. Besides this, spreadsheet will also show you other important data e.g. Cumulative Cost of BTC Purchased, Cumulative Earning from sell of BTC, Total BTC Purchased, Total BTC Sold, BTC in Hand after every transaction.

Columns P, Q, R and S contains formulas for calculating costs of coins sold in parts. These formulas are complex and doing the calculation on FIFO method. These contains intermediate results. You may show or hide them as per your choice.

You can set exchange commission for buy or sell transaction in 2 ways:

First method is to set a fixed percentage for all Buy and Sell transactions in cells B1 and B2. It will be used to fill amount of commission (in USD) for each transaction in column F and remove values from column E.

In second method you can manually fill amount of variable commission (in USD) for each transaction in column E. In that case, value in column F will NOT be used by sheet.

Formula to calculate Effective Price after Commission in column G will first look for commission amount in column E. If it is blank, then commission amount from column F will be used (which itself is derived from %age values from cells B1 and B2).

You can adopt both the methods together, but remember that value in column E always takes precedence over column F.

Google Sheet with same functionality is also available with this purchase. You will get share link for Google Sheet in attached PDF file.

Please let me know if you have any question or suggestion to improve this template. If you want further customization, I will be happy to make changes as per you requirement for a reasonable fee.

This Best Practice includes

Discuss

## Further information

### Objectives

Easily calculate trading gains in bitcoin or other stock trading using FIFO method.

## Reviews

• 4.9 / 5 (14 votes)

• 86%
• 14%
• -
• -
• -

• (last updated: 06/03/2021 11:38)
• (last updated: 23/02/2021 22:01)
• (last updated: 02/06/2020 15:24)
Works like a charm
I did a bit of searching for a crypto/stock tracker and came across the Bitcoin Cryptocurrency FIFO Gain Excel Calculator for Taxation. I wanted something to use for both crypto and stocks. I purchased the tool and it works great for both. I even reached out to Tejasvita for a few updates I was looking for and she turned it around in a day. She is responsive and did a really good job.
• (last updated: 08/03/2020 23:32)
• (last updated: 04/02/2020 03:07)
• (last updated: 09/01/2020 02:51)
• (last updated: 18/07/2019 09:25)
• (last updated: 10/04/2019 02:00)
• (last updated: 04/04/2019 04:38)
• (last updated: 20/03/2019 23:15)
• (last updated: 30/01/2019 17:04)
• (last updated: 19/10/2018 08:19)
• (last updated: 11/10/2018 04:02)
• (last updated: 13/07/2018 13:03)

keyboard_arrow_downShow all

See all

## Discussion feed for Bitcoin Cryptocurrency FIFO Gain Excel Calculator For Taxation

The user community and author are here to help. Go ahead!

• Great tool. Thanks for putting it together. There are a few things I would love to see added. I use this for both cryptos and stocks. In the Summary tab it would be great to see not only the current balance held but also the cost basis for those held shares/coins. It would be nice if it had another column that showed cost basis for shares held divided by # of shares held to show the current cost per share. Could you add this functionality in?
• Thanks foe the appreciation and your valuable suggestion. I have made the changes for you. Please let me know, how can I send it to you.
• Hi! I just bought Bitcoin Cryptocurrency FIFO Gain Excel Calculator How can I get the latest version? I have version 7
• Actually, for every minor update, Eloquens system reviews the file and considers it as new version. Next time , when I will upload the updated version, I will suffix the version number with file name in same manner as followed by Eloquens to avoid any confusion.
• Is there a way that I can determine if the coins sold have been held for 12 months or more?
• If you buy BTC for ETH or sell LTC and get XRP in return, how do you paste in the transactions? In this case you'r not using USD to buy and sell.
• Hi,

Thanks for showing your interest in this tool.

To do this, some manual work will be required. I have done similar calculations for another user and can do it for you. For each BTC/ETH pair transactions, 2 equivalent transactions of BTC/USD and USD/ETH need to be created. Same method may be used for other non-USD pairs to convert them to USD pair. It needs some (not much) manual work. If you send data with all the transactions to me, I can do it for you. I hope it makes sense.

Regards
Soni
• Hi - I just bought Bitcoin Cryptocurrency FIFO Gain Excel Calculator for Taxation
by Tejasvita Soni

Version 1 (Original Version): 12/05/2018 17:40 GMT
Version 2: 13/07/2018 06:23 GMT
Version 3: 20/07/2018 11:43 GMT
Version 4: 08/11/2018 11:39 GMT
Version 5: 04/12/2018 13:27 GMT
Version 6: 13/02/2019 08:32 GMT
Version 7: 31/03/2019 06:45 GMT
Version 8: 04/04/2019 11:04 GMT
Version 9: 07/04/2019 14:02 GMT
Version 10 (Current Version): 24/10/2019 11:20 GMT
Publication Number: ELQ-93697-10

Its fantastic - The portal provided version 7 for Excel - How do I get the latest version. - I messaged you also
• Hi,

Thanks! Version 10 (Current Version): 24/10/2019 11:20 GMT is the latest. If you have any problems, please send your sample transactions file, so I can show you how to fill it.

Regards
Soni
• This looks like exactly what I'm needing, but I have a number of altcoins. Is there any special knowledge required to copy the FIFO pages into new workbooks or tabs for altcoins or does this use VBA that would need to be altered?
• Hi,

It doesn't have any VBA code, so you can just copy the tab and replace the name of coin in new tab.

Please feel free to contact me, if you have any questions.

Thanks
Soni
• I just download the Taxation calculation tool. Should be noted that the version I received is Version 7. I understand from the comments below that a Version 10 is available that could address the following issue I have. If this is the case can I please have access to the recent Worksheet and disregard my comment below?

I noticed that there is no designation as to what sales are Short or Long Term (ST / LT). Without this feature and without special attention given a particular sale that could be both partly ST and LT in nature the tool as a "taxation aid" is unfinished and the user could be misreporting sales.

The issue you may face Tejasvita is that different jurisdictions have varying time ranges for what destinates LT or ST. You would need to add a cell that the user manually changes. For example, after hold for x days designate sales as LT.

• Hello Tejasvita,

is it possible to use your "Bitcoin Cryptocurrency FIFO Gain Calculator" also with LibreOffice "Calc" instead of Microsoft Excel?
I would be interested to buy a version working with LibreOffice Calc! Thank you. Max
• Very helpful tool. Would be nice to have the average cost after several BUY/SELL transactions tough...
• Hey Soni
Would you be able to do a customized version of your tool for an additional fee?
• Hi,

Yes, I would be happy to customize it as per your requirement. Please let me know more details.

Regards
Soni
• That's wonderful, thank you!
Can we take the discussion into private (e.g. email)?
I've got a few things I'd like to see added and I know a few people, who'd be willing to pay for an upgraded version.
• Soni
Better yet, can you message me on telegram @NorthRem, please - it will be more efficient to communicate that way.
Thank you.
• Hi Tejas,

I just purchased your fifo spreadsheet. I have noticed that if Coin in hand (Last Column) becomes 0 (by selling all stock), Then (Cum cost of Coin) & (Fifo Gain) gives an error - #ref!. It happens on all of your versions. Can you please fix that and let me know when you update the formulas. You can contact me at seguszone@gmail.com
• Hi,

Thanks for your message. I have updated the formulas. Now it will display error only when the Qty in Hand is less than 0 (when a user, by mistake, put more quantity to sell than he/she actually holds in hand).

I will email you the update version file and also upload here shortly.

Regards
Soni
• Hi Soni, thanks for the spreadsheet. Looking at column U on the BTC sheet (FIFO Gain USD), it looks like the gain shown in each row is cumulative through the latest sale? I need to track and report the FIBO gain/loss and cost basis for EACH sale individually. It should be a simple modification but before I break it I wanted to ask your thoughts. How would you recommend I modify the sheet? Thanks!
• Hi Jim, It is easy. To find gain/loss for each sale individually, you can subtract cumulative gain shown in the row of previous sale from the cumulative gain shown for current sale. If you need further help, please let me know.
• It would be helpful also to be able to turn this into LIFO.
• Determining Short Term vs Long Term capital gains would be very helpful. Possible?
• Can i use this for a custom FIFO calculator of stocks not in the open market? Is there a demo version of the sheet that I can use to see if it fulfills my need or is there a refund policy if this does not solve my needs?
• Yes, you can use this calculator for Crypto, Share, Forex or any other stocks where you need to find gains/loss on FIFO basis. For stocks you can also use Multiple Equity Stock FIFO Excel calculator in which you can place transactions for multiple stocks in single sheet.

There is no demo version or return policy. You can go through product description and youtube video. Please ask me if you have any questions.

Thanks!
• * comment deleted *
• Hello, great file, thanks! I was wondering if it is possible to add automatically separated per year results for FIFO/LIFO on summary page?
• With the alt coins sections and the ability to add our cryptos, are you able to use BTC or ETH or LTC as your cost basis paired with the app and realize that the gains in BTC then need to be converted to dollars for the overall cost basis for tax purposes.
Say I purchase ADA with BTC that I bought with USD. in order for me to report gains/losses I need to know ADA gains based on the cost basis of BTC's USD price at time of purchase and time of sale.
Does this sheet do this? I am very interested in purchasing but want to know if it does this?
• Hi,

Thanks for showing your interest in this tool.

To do this, some manual work will be required. I have done similar calculations for another user and can do it for you. For each ADA/BTC pair transactions, 2 equivalent transactions of ADA/USD and USD/BTC need to be created. Same method may be used for other non-USD pairs to convert them to USD pair. It needs some (not much) manual work. If you send data with all the transactions to me, I can do it for you. I hope it makes sense.

Regards
Soni
• * comment deleted *