Three steps to a standardised rate
Count the deaths by age group
Divide by the population of each group
Weight the rates by a reference population
The result no longer depends on the age structure.