# Average rate calculation incorrect

**URL:** <https://forum.beeminder.com/t/average-rate-calculation-incorrect/942>\
**Category:** Bugabee\
**Created:** [July 7, 2015, 3:57am UTC](https://forum.beeminder.com/t/average-rate-calculation-incorrect/942 "2015-07-07T03:57:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![djahandarie](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/djahandarie/32/400_2.png) [@djahandarie](https://forum.beeminder.com/u/djahandarie)\
**Post date:** [July 7, 2015, 3:57am UTC](https://forum.beeminder.com/t/average-rate-calculation-incorrect/942/1 "2015-07-07T03:57:05Z")

</div>

At least on one of my goals ([djahandarie/reading](https://www.beeminder.com/djahandarie/goals/reading)), the “avg rate” calculation is incorrect, or I’m confused.

If I take the current value (8132) and divide it by number of days since goal started (2015-07-06 - 2014-03-26 = 487) I get 16.7 per day. However, the “avg rate” on the sidebar shows “35.46 per day”. This makes no sense to me because I only just changed the road rate to 40/day around a month ago – it had been 20/day for over a year, along with many flat spots.

What’s going wrong here? Am I misunderstanding, is something broken, or both?

---

<div class="post-metadata">

**Author:** ![insti](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/insti/32/545_2.png) [@insti](https://forum.beeminder.com/u/insti)\
**Post date:** [July 7, 2015, 7:35am UTC](https://forum.beeminder.com/t/average-rate-calculation-incorrect/942/2 "2015-07-07T07:35:11Z")

</div>

I believe the “avg rate” calculation is correct (for what it is calculating.)

It’s probably not what anyone wants or expects though.

It’s showing the average rate **at the goal date** , which in your case is 2020-08-06 so if you keep your rate at 40/day for the next 5 or so years that will be what your average rate will have been.

Heart and add your opinion to this [post about better goal stats info](http://forum.beeminder.com/t/ui-stats-box/866?u=insti) and we can maybe get some improvements made.

---

<div class="post-metadata">

**Author:** ![drtall](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/drtall/32/1341_2.png) [@drtall](https://forum.beeminder.com/u/drtall)\
**Post date:** [July 7, 2015, 5:21pm UTC](https://forum.beeminder.com/t/average-rate-calculation-incorrect/942/3 "2015-07-07T17:21:06Z")

</div>

At the risk of spamming, if you want this stat ASAP you could check out [A somewhat janky plain-text dashboard](http://forum.beeminder.com/t/a-somewhat-janky-plain-text-dashboard/740) . The dashboard displays the weekly rate of the data averaged over the last two weeks.

---

<div class="post-metadata">

**Author:** ![adamwolf](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/adamwolf/32/484_2.png) [@adamwolf](https://forum.beeminder.com/u/adamwolf)\
**Post date:** [September 22, 2015, 6:25pm UTC](https://forum.beeminder.com/t/average-rate-calculation-incorrect/942/4 "2015-09-22T18:25:25Z")

</div>

This was very confusing to me today, and I almost started an email to [support@beeminder.com](mailto:support@beeminder.com) as I thought I found an issue.

---

<div class="post-metadata">

**Author:** ![dreev](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/dreev/32/4311_2.png) [@dreev](https://forum.beeminder.com/u/dreev)\
**Post date:** [October 14, 2015, 1:17am UTC](https://forum.beeminder.com/t/average-rate-calculation-incorrect/942/5 "2015-10-14T01:17:18Z")

</div>

Always highly valuable feedback to hear when something is confusing! And de-confusing the “avg rate” stat is a nice easy UVI – maybe by at least adding an additional stat that tells you the average just up to now, not through the goal date. I see @insti’s got this captured and tagged in the other thread – thanks so much!
