18 dog years in human years

≈ 104 human years for a medium breed. Size changes the answer a lot:

Small (under 20 lb / 9 kg)88 human years
Medium (21–50 lb / 10–23 kg)104 human years
Large (51–100 lb / 23–45 kg)120 human years
Giant (100 lb+ / 45 kg+)152 human years

At 18 years your dog is into senior territory for most breeds. Senior status starts around age 6 for giant breeds, 8 for large, 10 for medium and 11 for small ones — see the life stage chart.

Part-way through year 18 (medium breed)

18 yr 0 mo104 human years
18 yr 3 mo105 human years
18 yr 6 mo107 human years
18 yr 9 mo108 human years

Related