width | height | formula | |
---|---|---|---|

original resolution | px | px | |

new resolution | px | px | |

ratio | 6 | 4.821428571428571 | new / original |

integer ratio | 6 | 4 | floor(ratio) |

integer scale factor | 4 | min(width int. ratio, height int. ratio) | |

remainder | 2 | 0.8214285714285712 | ratio - int. scale factor |

screen area used | 67% | 83% |

2017 David DiPaola. licensed under CC0 (public domain)