About Ratio
Precision, without the upload.
Ratio by ButFix is a free, high-precision aspect ratio calculator and image dimension utility for designers, developers, photographers, and editors.
Exact by construction
Euclidean GCD reduction gives you the true mathematical ratio, while standard presets are clearly separated from approximations.
Private by default
Images are decoded locally with the File API and a temporary object URL. No image bytes, metadata, or filenames leave your browser.
Built for real work
Honest rounding notes, keyboard access, and a compact interface that stays out of the way of the actual calculation.
Our principles
- Strictly local image processing: Every image opened in the inspection and crop workspace is decoded inside your device's browser using the File API, an in-memory image element, and a temporary object URL. No image data or metadata is transmitted over the network or stored on our servers. Read the privacy policy for details.
- Exact mathematical reduction: We use Euclidean Greatest Common Divisor reduction to give you the true mathematical ratio, while clearly distinguishing standard industry presets from approximations.
- Honest rounding: When a calculated dimension is not a whole number, both the exact value and the nearest whole-pixel result are shown so you can decide which one to use.
- Zero clutter: Fast, accessible, and fully keyboard-navigable, without intrusive full-page ads or tracking bloat.
How it works
The calculator uses integer arithmetic for ratio simplification, validates every input, and renders static HTML with a small amount of TypeScript for interactivity. The site is deployed as static files on Cloudflare Pages, so calculations run on your device rather than on an application server.
Feedback and corrections are welcome at [email protected].