# Age Difference

## Introduction to Age Difference Calculator

The Age Difference Calculator calculates the absolute difference in years between two birth years. The formula subtracts the smaller birth year from the larger birth year and returns the absolute value of the result, representing the age difference.

## Parameter usage:

`birthYear1`

= birth year of person 1`birthYear2`

= birth year of person 2

## Example valid values:

`birthYear1`

= 1990`birthYear2`

= 1980

## Output:

`ageDifference`

= absolute age difference in years

## Data validation

The birth years should be valid numerical values.

## Summary

This calculator helps calculate the age difference between two individuals based on their birth years.

Tags: Age, Difference, Calculator