We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

Calculating gain/loss if holding changes?

How do people calculate % gain/loss over a time period, if you increase/decrease holding during the period. Treat them as two separate sub periods, pro rata? e.g. 100 units bought at £1 on jan 1st, 20 more units bought 1st jul at £1.10, what is % gain on dec 31st if unit price is £1.20 on that day? Thanks, Brian
«1

Comments

  • Terry_Towelling
    Terry_Towelling Posts: 2,279 Forumite
    1,000 Posts Second Anniversary Name Dropper
    I tried to do this - and was only partially successful. I created a spreadsheet to do it but it really only works well if you plan not to sell any of your units (although I did build a bit in for this) and it really only works when you create percentages for each individual purchase. That said, the percentages were meaningless when I tried to annualise them and they were less than a year old. The spreadsheet became horrendous with all sorts of 'IF' statements in it. I then struggled with the reinvested dividends because, in theory, they haven't cost you anything so your percentage gains will have to be based on the change in value of the units and not the actual gain you have made (i.e. 100% of it). In the end I abandoned percentages and my spreadsheet just shows me the financial value of any gains/losses for individual purchases together with any realised profits and retained gains for that purchase. If you do find a way to do it meaningfully, let me know.
  • Asghar
    Asghar Posts: 442 Forumite
    Part of the Furniture 100 Posts Name Dropper
    edited 14 May 2018 at 9:01PM
    baj25 wrote: »
    How do people calculate % gain/loss over a time period, if you increase/decrease holding during the period. Treat them as two separate sub periods, pro rata? e.g. 100 units bought at £1 on jan 1st, 20 more units bought 1st jul at £1.10, what is % gain on dec 31st if unit price is £1.20 on that day? Thanks, Brian

    The total purchase cost is £122 (100 x £1 + 20 x £1.10)
    The end of year value is £144 ( 120 units x £1.20)

    The gain for the year is £22 or 18.03%.
    Or is that too simple?

    Have a read here.
    http://monevator.com/how-to-unitize-your-portfolio/
  • AnotherJoe
    AnotherJoe Posts: 19,622 Forumite
    10,000 Posts Fifth Anniversary Name Dropper Photogenic
    OP what is your reason for wishing to do this ?
  • baj25
    baj25 Posts: 48 Forumite
    Part of the Furniture 10 Posts Combo Breaker
    To be able to compare performance of different funds AJoe.
  • george4064
    george4064 Posts: 2,949 Forumite
    Part of the Furniture 1,000 Posts Photogenic Name Dropper
    Look up unitisation.

    I unitise my portfolio, which gives overall gain/losses and performance of my portfolio as a whole (and it is capable of handling new money and withdrawals without skewing the performance).

    Sound like you!!!8217;re looking to unitise individual holdings, which is same concept just a lot more work as you!!!8217;re doing it X many times. (X being the number of holdings you have).
    "If you aren’t willing to own a stock for ten years, don’t even think about owning it for ten minutes” Warren Buffett

    Save £12k in 2025 - #024 £1,450 / £15,000 (9%)
  • msallen
    msallen Posts: 1,494 Forumite
    Tenth Anniversary 1,000 Posts Name Dropper
    I use the XIRR function in Excel. See forums.moneysavingexpert.com/showthread.php?t=5798035
  • TrustyOven
    TrustyOven Posts: 746 Forumite
    Seventh Anniversary 500 Posts Combo Breaker
    edited 15 May 2018 at 4:36PM
    Asghar wrote: »
    The total purchase cost is £122 (100 x £1 + 20 x £1.10)
    The end of year value is £144 ( 120 units x £1.20)

    The gain for the year is £22 or 18.03%.
    Or is that too simple?

    Have a read here.
    http://monevator.com/how-to-unitize-your-portfolio/


    How does this work out in practice in a spreadsheet?


    I tried doing this in the past but I could never get the hang of updating unit values each time a purchase or sale occurs, and that you have to get the latest value in the spreadsheet. It's the keeping-track-of-the-history data that seems to befuddle me.


    Edit: My bad. Looks like I had forgotten unitisation having glanced at the monevator link. My question still stands I think - how to use spreadsheets to manage the temporal data.
    Goals
    Save £12k in 2017 #016 (£4212.06 / £10k) (42.12%)
    Save £12k in 2016 #041 (£4558.28 / £6k) (75.97%)
    Save £12k in 2014 #192 (£4115.62 / £5k) (82.3%)
  • Terry_Towelling
    Terry_Towelling Posts: 2,279 Forumite
    1,000 Posts Second Anniversary Name Dropper
    edited 15 May 2018 at 6:42PM
    "The total purchase cost is £122 (100 x £1 + 20 x £1.10)
    The end of year value is £144 ( 120 units x £1.20)

    The gain for the year is £22 or 18.03%.
    Or is that too simple?"



    Could be too simple. Certainly it's a way to say 'The current value of my units is X% more than I paid for them' but it takes no account of the timings of the unit purchases. The first purchase may have been made in January and a subsequent purchase might have been much later in the year. So you have a whole year's gain on the 1st purchase but only a month or two on the later one. It gets worse when you sell some units during the year.
  • TrustyOven
    TrustyOven Posts: 746 Forumite
    Seventh Anniversary 500 Posts Combo Breaker
    TrustyOven wrote: »
    How does this work out in practice in a spreadsheet?


    I tried doing this in the past but I could never get the hang of updating unit values each time a purchase or sale occurs, and that you have to get the latest value in the spreadsheet. It's the keeping-track-of-the-history data that seems to befuddle me.


    Edit: My bad. Looks like I had forgotten unitisation having glanced at the monevator link. My question still stands I think - how to use spreadsheets to manage the temporal data.


    After hours of faffing about, I think I got it. :o
    Goals
    Save £12k in 2017 #016 (£4212.06 / £10k) (42.12%)
    Save £12k in 2016 #041 (£4558.28 / £6k) (75.97%)
    Save £12k in 2014 #192 (£4115.62 / £5k) (82.3%)
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 353.6K Banking & Borrowing
  • 254.2K Reduce Debt & Boost Income
  • 455.1K Spending & Discounts
  • 246.7K Work, Benefits & Business
  • 603.1K Mortgages, Homes & Bills
  • 178.1K Life & Family
  • 260.7K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.