Calculate the aspect ratio to match any custom width and height combination. Supports common presets and dimension calculations.