The height of a 12x18 poster is 18 inches.
Poster dimensions are written as width × height. So 12x18 means 12 inches wide and 18 inches tall.