# How Do I create calculating fields in a deal

**URL:** <https://community.hubspot.com/t/how-do-i-create-calculating-fields-in-a-deal/98236>\
**Category:** CRM\
**Tags:** object\
**Created:** [January 19, 2024, 4:48pm UTC](https://community.hubspot.com/t/how-do-i-create-calculating-fields-in-a-deal/98236 "2024-01-19T16:48:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![PFowler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pfowler/32/29745_2.png) [@PFowler](https://community.hubspot.com/u/PFowler)\
**Post date:** [January 19, 2024, 4:48pm UTC](https://community.hubspot.com/t/how-do-i-create-calculating-fields-in-a-deal/98236/1 "2024-01-19T16:48:48Z")

</div>

Hi there,

I am trying to create calculating fields for the consulting projects we sell.

Ideally it would be

Quantity (days) x People x Unit Price less Discount = Net Price

Has anyone managed to get this done?

---

<div class="post-metadata">

**Author:** ![jnix284](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jnix284/32/29_2.png) [@jnix284](https://community.hubspot.com/u/jnix284)\
**Post date:** [January 20, 2024, 1:54am UTC](https://community.hubspot.com/t/how-do-i-create-calculating-fields-in-a-deal/98236/2 "2024-01-20T01:54:29Z")

</div>

Hi @PFowler you can create a [custom calculated property](https://knowledge.hubspot.com/crm-setup/create-calculation-properties#calculate-values-based-on-a-custom-equation) that references any of your existing properties to create the net price.

For the deal, you would need these properties configured:

Quantity (days)

People

Unit Price

Discount

and the calculated property would be Net Price.

Let me know if you have questions once you start building it out!

---

<div class="post-metadata">

**Author:** ![darkpatterns](https://avatars.discourse-cdn.com/v4/letter/d/d2c977/32.png) [@darkpatterns](https://community.hubspot.com/u/darkpatterns)\
**Post date:** [April 15, 2024, 12:49am UTC](https://community.hubspot.com/t/how-do-i-create-calculating-fields-in-a-deal/98236/3 "2024-04-15T00:49:27Z")

</div>

This is false. You can reference existing properties within-object only. You cannot reference the existing properties for other objects. If I am incorrect please do let me know.

---

<div class="post-metadata">

**Author:** ![jnix284](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jnix284/32/29_2.png) [@jnix284](https://community.hubspot.com/u/jnix284)\
**Post date:** [April 15, 2024, 2:05am UTC](https://community.hubspot.com/t/how-do-i-create-calculating-fields-in-a-deal/98236/4 "2024-04-15T02:05:48Z")

</div>

@darkpatterns all of the properties mentioned are for the deal object, as I mentioned in the previous reply, product properties would have to be copied to custom deal properties to leverage in a custom calculated property.

---

<div class="post-metadata">

**Author:** ![PFowler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pfowler/32/29745_2.png) [@PFowler](https://community.hubspot.com/u/PFowler)\
**Post date:** [January 23, 2024, 12:02pm UTC](https://community.hubspot.com/t/how-do-i-create-calculating-fields-in-a-deal/98236/5 "2024-01-23T12:02:31Z")

</div>

Thanks Jennifer, its most appreciated. Are you saying that I would need all of those properties again? What type would then need to be? Deal Properties? Product Properties?

---

<div class="post-metadata">

**Author:** ![jnix284](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jnix284/32/29_2.png) [@jnix284](https://community.hubspot.com/u/jnix284)\
**Post date:** [January 23, 2024, 12:54pm UTC](https://community.hubspot.com/t/how-do-i-create-calculating-fields-in-a-deal/98236/6 "2024-01-23T12:54:20Z")

</div>

@PFowler you wouldn’t need them again if they already exist, you can add existing properties to your calculated property that you build for Net Price.

They should all be Deal Properties, if you have them as Product Properties you could look at using a workflow to copy them over to matching properties within the deal - the available properties for the calculation are for the object you’re creating it for only (Deal properties can be used in calculations for other Deal properties).

You can add functions and properties when you configure the calculated property, so if the property already exists you just choose it from the list:

 ![Jnix284_0-1706014329407.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/a/9/a9790f8adf95a046e3daee735a0e1db5b314b748.png)

 ![Jnix284_1-1706014379543.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/b/1/b1fcc1495435d5bd770492d0fd221f63bff9a23b.png)

To get here, go to Settings \> Properties, then choose Deal Properties.

Create a new property, name it, select the property group and then choose Calculation as the type on the next step.
