Please tell a friend about us. Thank you.

This ROI calculator (return on investment) calculates an annualized rate of return using exact dates. Also known as ROR (rate of return), these financial calculators allow you to compare the results of different investments. More below...»

Do you have 3 minutes for your future?
Then try this Retirement Planning Calculator. It solves for multiple unknowns and creates a cash flow schedule.
Need to calculate a rate of return on multiple investments?
Check out our Internal Rate of Return (IRR) Calculator. It supports irregular investment dates.

$ : mm/dd/yyyy
  Original Size  

Related: If you have multiple investments or withdrawals on different dates then use this internal rate of return calculator. An IRR calculation is an annualized ROI calculation when there are multiple cash flows.

As a side benefit of this calculator's date accuracy, you can also use it to do date math calculations. That is, it will find the date that is "X" days from the start date or given two dates, it will calculate the number of days between them.

Calendar Tip: When using the calendar, click on the month at the top to list the months, then, if needed, click on the year at the top to list years. Click to pick a year, pick a month and pick a day. Naturally you can scroll through the months and days too. Or you can click on "Today" to quickly select the current date.

If you prefer not using a calendar, single click on a date or use the [Tab] key (or [Shift][Tab]) to select a date. Then, as mentioned, type 8 digits only - no need to type the date part separators. Also, because the date is selected, you do not need to clear the prior date before typing. If mm/dd/yyyy is selected for the date format, for March 15, 2016, type 03152016.

What is ROI?

ROI or Return on Investment calculates the percentage gained or lost on an investment.

Enter the "Amount Invested" and the date the investment was made ("Start Date"). Enter the total "Amount Returned" and the end date.

You can change the dates by changing the number of days. Enter a negative number of days to adjust the "Start Date". Or as you change a date the "Number of Days" will update.

The results include the percentage gained or loss on the investment as well as the annualized gain or loss also expressed as a percent. The annualized return can be used to compare one investment with another investment.

Example: If you bought $25,000 worth of your favorite stock on January 2nd 2014 and sold it for $33,000 on June 7th 2015, you would have a gain of $8,000 which is 32%. The annualized gain is 21.5%.

Now, lets say you made a second investment on January 2nd, 2015. This time for $10,000 and you sold it for $11,000 on March 1st, 2015. The gain is only $1,000 or 10%. However, annualized the gain is 82.1%. Ignoring risk (which can be very dangerous), one would generally consider the latter investment to be better than the former.

Related: Saving for college? You may have more time than you think!

A final word about ROI/ROR financial calculators — because two different calculators may use different equations, don't compare the results from one ROI calculator for one investment with results from another calculator for a different investment. Use the same calculator to compare two different investments.

Do You Have 20 Seconds?
Please tell me how you use this calculator. Are you using it personally or professionally? What feature is important to you? If it didn't meet your needs, why? Your feedback will help me make improvements. Complete sentences aren't necessary! :)

36 thoughts on “roi-calculator

  1. Love your ROI calculator. The only thing I would improve would be the ability to enter a date rather than have to scroll through each month. If you are trying to choose a date 10-20 years in the future or past it is a lot of extra work.

    • I understand your point, and I am concerned the best way for entering dates is not as obvious as it should be. Please note:

      1. A user does not have to use the calendar. Just type the numbers, not even the separators. So, if the date format is mm/dd/yyyy, the user would type, for today: 02092016.

      2. Perhaps even better, if you want to use the calendar and the date is a few years back, click on the month at the top, this lists the months and the year then is at the top. Click on the year, you’ll see years where dates normally are. Pick a year, pick the month, pick the date.

      I’m thinking of adding some graphics down the side of the page to show this.

  2. Thanks for making this available. It’s been a great help in evaluating my retirement investments vis-a-vis this particular approach versus that one. Question: how do I adjust for the occasions when I add a lump sum to the current balance of the investment? Do I start over from that point going forward or can I average the lump sum additional investment in equal amounts over the prior months?

  3. Hi John,

    Glad you find the calculator useful. To answer your question, in that use case, I don’t think you should use this single investment ROI calculator. Rather, it is best if you use the IRR calculator located here:

    The IRR calculator allows you to make additional investments on any date (or withdrawals). The calculated IRR is a ROI calculation.

  4. Wondering the formula being used to calculate the Annualized Return (ROI) because I’m getting something different than what you are showing here.

    • About the only thing I will not discuss are the specifics of the formula used for any calculation. Have to have some intellectual capital!

      That said, the results for ROI (and IRR) may differ between calculators. The real benefit of either calculator is so a user can compare two different investments. The calculator normalizes the calculated return so investments of different terms can be compared.

  5. I’m currently making a website, and I need a calculator like this to provide some numbers to people visiting the site. The site is still in concept, so nothing is up and online yet.

    Is there anyway you could allow me to embed this calculator into my site?

    Much regards,

    • After this site is fully live, I’ll look into making some calculators available for other sites. I’ll contact you then.

      In the meantime, these calculators are still being tested.

    • In the lower right corner of any calculator, click on the “$ : MM/DD/YYYY” to open the window where you can select currency and date format.

      Or was your question about how you set a currency option that is not offered?

  6. I am unable to overtype the date as noted above. Am I missing something?

    I liked the prior version for the date. Simpler than entry rather than having to make numerous clicks to get to it.

    Is the prior version still available? It was nicely done and simple.

    Thanks for a nice job.

    • What browser are you using please?

      If you use the [TAB] key to move from the “Days” input to the “Start Date” (or single click in the “Start Date”), the date itself should be selected (usually has a dark blue background).

      If that’s the case, there is no need to clear the date or backspace. Type type the date in. If you use a MM/DD/YYYY date format, you would type


      assuming today’s date. No need to type the separator character between the month and day or day and year.

      Or at least that’s the way it’s designed and the way it has been tested using IE 11, Chrome and Safari on IOS.

      • It seems that the current rendition of your ROI doesn’t work with Mozilla Firefox. Your retirement calculator works fine as did the original ROI calculator. I cannot overwrite the date and clicking on the calendar doesn’t perform correctly either. This is a valuable tool and I wish it still worked like properly.

        • Very strange, but you are right. Since your comment came in, I deployed a new version that does not use a calendar (for now). This will allow users to type the 8 digits that make up the date without any interference from the date the calendar knows.

          I tested in Firefox v42 as well as IE 11 and current Chrome.

          (The calendar comes from a 3rd party programmer’s toolbox. Obviously I need to reevaluate it.)

      • Hi Karl..
        Ref: Can’t overtype the date in ROI.
        You asked about my browser.
        Windows 7, IE 11.

        You say you have a new version that allows users to type the 8 digit date.
        The ROI I opened today has the same problem. Another location?

        • Thanks for the detail. There should not be any problem at all typing in the date with IE 11. That is one of the browsers I use for testing.

          When you have a chance please try this. Do a hard refresh. Press [Ctrl][F5] (press & hold Ctrl key then press F5).

          What this does is make sure the browser is using the latest code. Since you have been to the site before, it is very possible that the browser had saved a copy of the programming code locally and is still using the old version.

  7. I am attempting to calculate ROI over time as my investment grows.
    How do I do this?
    Every year I must invest another $10 to own a domain name.

    Your ROI calculator only does one investment amount one time.
    If I buy a domain name and sell the first year, your calculator is great.
    However if I sell it the tenth year, it is not so accurate. The last $10 was spent recently and the previous $10 the year before.

    The ROI is actually greater with a growing investment than it is with an investment made years ago.

    Amount Invested (PV)?: 250
    Amount Returned (FV)?:1.5million
    days: 7,671
    start 5-01-1995
    end 5-10-2016
    Annualized Return (ROI): 51.2%
    total years 21.

    The first year was $100
    The second two were $50
    Every year since has been $10 (actually under $9 but not attempting to be that accurate.)

    I just renewed the registration for just under $9.

    Annualized Return (ROI): should be higher than 51.2% due to the gradually increasing amount invested..

    how can this be calculated?
    is there a name for the formula?

    thank you 😉

    • Thank you for posting your question here. The ROI calculator, as you have discovered is designed for a single investment amount. What you are describing is, in essence, a series of investments, i.e. the annual fees.

      Please use the IRR Calculator for this calculation. It is designed to allow for a series of investments made on any date there and also be withdrawals (sales for you I imagine) along the way.

      Once you’ve tried it, if you have any questions, please feel free to ask.

      • Thanks Karl, that is exactly what I was looking for. I Entered my expenses as negative numbers and my income and calculated.


  8. Thank you! I just needed something to crunch the numbers correctly and this was perfect. I plan to use it again. God bless you for blessing others.

  9. I would like to request that the Annualized return have more than one single decimal place. I use this site regularly and its great! I just find that I need at least 2 decimal places, instead of rounding to one.


  10. Thank you Karl for this online Calc, it helps me a lot for saving my time, rather than to calculate manually as it in my college.

  11. Is the calculator not working?
    I entered (pv) 50,000
    (fv) 250,000
    (days) 7,305
    The calculator just takes me back to FV.

    • Starting Jan. 1, 1996 and using 7,305 days, I get an ROI of 8.3%. I don’t see any issue.

      Please do a “hard” refresh of the page. If you are using a desktop computer and browser, this is usually done by typing Ctrl-F5.

      This will cause the browser to re-download the code. Perhaps there was a problem with the connection at the time you landed on the page?

  12. Please make the Annualized ROI more than a single decimal place, please! The YTD has 4 decimal places. Just a single decimal is not enough and rounds too much!


    • I can do that, and in fact, I believe that an earlier version of this calculator had greater precision for the ROI. However, increasing the precision does not make sense to me. If you can explain how you would use more precision, I’ll be very happy to make the change.

      Here are my thoughts as to why not. The ROI (like the IRR) is used primarily for comparing investments. Does it make a difference if one investment is say 5.22% and another is 5.27% (5.2% vs 5.3%)? To me, this is insignificant and one would not decide one investment is better than another based on such a small difference. The issue becomes, what’s the risk? Not what is the “exact” ROI?

      Make a case for otherwise and the change can be made very quickly.

      (Please do NOT reply to the email you’ll receive. Rather reply to the comment on the site so that we can all benefit. Thanks!)

      • That makes sense when comparing two different investments and needing a rough calculation for comparison. You are right that 5.2% vs 5.3% is not material in that case. But that assumes that this calculator is only used to compare 2 similar investments and that a rough comparison is all that is needed to make a decision. It has many more uses. In my usage, I use this calculator to double check my own Annualized ROI calculations for a small investment fund I manage. I calculate my own returns but often use your calculator to double check myself. I find myself needing to have more accuracy and needing at least 2 decimals to ensure I am on track and that my own numbers are right.

        I notice your Percentage Gain has 4 decimals. It seems like the same argument could be made for that display as well? What difference is a percentage gain of 5.2% vs 5.3%? For me, its just about being able to tie out my numbers and not have to guess at what might have been rounded up or down.

    • Jon, took longer to get to than I thought it would, but the ROI now shows 4 decimal digits. (If you try the calculator and you don’t see 4 digits, please force a refresh of the page which will cause the latest version to be shown in your browser.)

      Thanks for your input.

  13. Good calculator, but what is the formula used to identify the percentage gained or lost? I couldn’t find it on the page.


    • Thank you. Glad you like the calculator. Equations are something that I’m not providing at this time. If you need the equation because you are creating a calculator for a website, I’ll be releasing some calculator widgets starting early next week that can be used on other sites.

    • % Gain or Loss = (Sell price – Purchase price)/Purchase price * 100

      ROI = {(Sell Price/Purchase price)^(1/No of years) – 1} * 100

      In Excel:
      b3= Amount invested
      b4= Amount on sale
      b5= No of years

      Formula for % Gain(in B6 Column) –> =b4-b3/b3*100
      Formula for ROI/Annual return (B7 Column) –> =(Power(b4/b3,1/b5)-1)*100

      • I’m not checking this. I’ll assume this is correct. Also note, it does not seem to handle fractional years or a term that is less than one year. The above calculator, of course, handles both cases.

        Thanks for your comment Vikal.

Comments, suggestions & questions welcomed...

* Required