Age Calculation Property Creation

Auto-calculate age from birthday using HubSpot calculation properties

HubSpotCalculation PropertyAgeTime sinceAuto-calculation
4 min read

About This Article

"I want to auto-calculate age from birthday" "Manual yearly updates are tedious"

Using HubSpot's "Time since" calculation property, you can auto-calculate the elapsed years (age) from a birthday property to today.

What are Calculation Properties?

Calculation properties are special properties that perform automatic calculations based on other property values.

Available Plans

Free/Starter
Calculation PropertiesNot available
Limit-
Professional
Calculation PropertiesAvailable
LimitUp to 5
Enterprise
Calculation PropertiesAvailable
LimitUnlimited

Calculation Types

Date-related calculations include:

Time between
DescriptionPeriod between two dates
Example UseContract duration
Time since
DescriptionPast date to today
Example UseAge calculation
Time until
DescriptionToday to future date
Example UseDays until contract end

How Time Since Works

Principle

Time since calculates the period from a date property value to today's date.

Formula (concept):

Elapsed period = Today's date - Date property value

Display Units

Results can display in these units:

Years
Example34 years
Recommended for AgeRecommended (ideal for age)
Months
Example416 months
Recommended for AgeFor detailed analysis
Weeks
Example1,806 weeks
Recommended for AgeNot used
Days
Example12,645 days
Recommended for AgeNot used

Setup Steps

1. Open Property Settings

  1. Click Settings (gear icon)
  2. Select "Properties" from left menu
  3. Select "Contacts" tab

2. Create New Property

  1. Click "Create property"
  2. Enter:
Object type
ValueContact
Group
ValueContact information (or custom)
Label
ValueAge
Internal name
Valueage (auto-generated)

3. Set Field Type

  1. Click "Field type" tab
  2. Field type: Select "Calculation"
  3. Calculation type: Select "Time since"

4. Configure Calculation Details

  1. Start date property: Select "Birthday" (custom property)
  2. Output unit: Select "Years"
  3. Decimal places: "0" recommended (integer display)

5. Complete Creation

  1. Click "Create"
  2. Property created, auto-calculation begins

Setup Flow

Calculation Property Setup Flow
Basic Info

Label: Age / Group: Contact information

Select Field Type

Select "Calculation"

Select Calculation Type

Select "Time since"

Specify Property

Start date: Birthday property

Output Settings

Unit: Years / Decimal: 0

Verification

Test Method

  1. Create or select test contact
  2. Enter date in birthday property
  3. Wait and check "Age" property

Note: Calculation properties aren't real-time; they reflect within minutes to hours.

Expected Results

1990/06/15
Today2025/01/29
Calculated Age34 years
2000/01/01
Today2025/01/29
Calculated Age25 years
1985/12/31
Today2025/01/29
Calculated Age39 years

About Calculation Accuracy

Understanding Approximate Values

Time since results are approximate.

Characteristics:

  • Calculated as 1 year = 365.25 days
  • Month/day consideration isn't precise
  • May show +1 year right after birthday

Practical Impact

For age group segments (10-year ranges), ~1 year error is practically acceptable.

Consider alternative methods if precise age management is required.

Official Documentation Reference

See HubSpot's official knowledge base for calculation property details:

  • "Create calculation and rollup properties"
  • "Use today's date in the CRM"
  • "Property field types in HubSpot"

Troubleshooting

Calculation Result Not Showing

Causes and fixes:

  1. Birthday property empty: Enter a value
  2. Birthday format invalid: Confirm date picker type
  3. Calculation delay: Wait a few hours
  4. Plan limitation: Confirm Professional or above

Calculation Result Incorrect

Causes and fixes:

  1. Unit setting error: Confirm set to years
  2. Start date setting error: Confirm correct property selected
  3. Birthday data error: Confirm year isn't in the future

Summary

  • Calculation type is "Time since": Elapsed period from birthday to today
  • Output unit is "Years": Ideal for age display
  • Decimal "0" recommended: Display as integer
  • Understand approximate values: Possible ~1 year error
  • Professional or above required: Check plan requirements

Create calculation properties to auto-calculate age and expand your customer data utilization.

Related Topics