Calculate aspect ratio

Don't use hard-coded value.