My Calculator Stack · Design formulas

Design · Formula sheet

Design formulas

One printable sheet for 6 Design tools — formulas collected from each calculator’s How it works.

Design calculators →

Aspect Ratio Calculator

Open tool →
\[ r=w/h \]

Enter Width and Height for the Aspect Ratio Calculator; use finite values in the indicated domain. The calculator reports Ratio and Simplified: Aspect ratio is width divided by height. Height must be nonzero, and Width and Height must use the same unit.

DPI PPI Calculator

Open tool →
\[ \mathrm{PPI}=px/\mathrm{in} \]

Enter Pixels wide, Inches wide, Pixels tall, and Inches tall for the DPI PPI Calculator; use finite values in the indicated domain. The calculator reports Horizontal PPI and Vertical PPI: DPI/PPI = pixels ÷ inches. Inches wide and Inches tall must be positive physical measurements.

Golden Ratio Calculator

Open tool →
\[ \phi=(1+\sqrt5)/2 \]

Enter Mode (0=×φ,1=÷φ) and Length for the Golden Ratio Calculator; use only the listed mode or unit codes. The calculator reports Result length: φ ≈ 1.618 relates consecutive segment lengths. Use mode 0 or 1 exactly and keep Length in the unit desired for Result length.

PX REM Calculator

Open tool →
\[ \mathrm{rem}=px/\mathrm{root} \]

Enter Mode (0=px→rem,1=rem→px), Value, and Root px for the PX REM Calculator; use only the listed mode or unit codes. The calculator reports Result: rem is relative to root font size (default 16px). Root font size must be positive; browser zoom and inherited styles can change rendered size.

Resolution Scale Calculator

Open tool →
\[ w'=sw,\ h'=sh \]

Enter Width px, Height px, and Scale for the Resolution Scale Calculator; use finite values in the indicated domain. The calculator reports Scaled width, Scaled height, and Megapixels: Multiply width and height by a scale factor. Scale should be nonnegative; display dimensions may need rounding to whole pixels.

Screen Diagonal Calculator

Open tool →
\[ d=\sqrt{w^{2}+h^{2}} \]

Enter Width and Height for the Screen Diagonal Calculator; use finite values in the indicated domain. The calculator reports Diagonal: Diagonal is the Pythagorean hypotenuse. Width and Height must use the same unit and be nonnegative.

Keep going

Open the category hub or browse every printable sheet.