# Custom Equation: Amount / Time Between

**URL:** <https://community.hubspot.com/t/custom-equation-amount-time-between/89724>\
**Category:** CMS Development\
**Tags:** professional\
**Created:** [September 15, 2023, 11:54am UTC](https://community.hubspot.com/t/custom-equation-amount-time-between/89724 "2023-09-15T11:54:13Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![nickfromfargo](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/nickfromfargo/32/46602_2.png) [@nickfromfargo](https://community.hubspot.com/u/nickfromfargo)\
**Post date:** [September 21, 2023, 4:59pm UTC](https://community.hubspot.com/t/custom-equation-amount-time-between/89724/3 "2023-09-21T16:59:25Z")

</div>

TLDR;The main issue seems to stem from the original equation. I think you are using the duration property in your equation as a time between factor… instead of the end date.  
Not totally sure on how I’d do it for a Monthly breakdown, but.  
You can do a **Revenue per Day** calucation all in one calculated property if you cofigure it as below swapping out your appropriate properties. Be sure the Output type is set to **Number** and formatted to **Currency**.  
([properties.amount] / (time\_between([properties.estimated\_project\_start\_date], [properties.estimated\_project\_end\_date]) / 86400000))

 ![nickfromfargo_0-1695311393761.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/7/7e4954e800ea93049465712e9bdcd0600cb68516.png)

---

_[View the full topic](https://community.hubspot.com/t/custom-equation-amount-time-between/89724)._
