Skip to content
SymboxiTools & Games for Everyone

Calculators · Tool

SVG ViewBox Fit Calculator

Enter the viewBox and viewport sizes, then choose whether to contain or cover.

How to use it

  1. Enter the viewBox and viewport sizes, then choose whether to contain or cover.
  2. Run the tool, then copy the result if needed.

How it works

Meet fits the full drawing. Slice covers the viewport and may crop edges. Both modes preserve the aspect ratio.

Use it for

  • Size a logo or icon inside an SVG viewport.

Questions

Does this run locally?

Yes. This tool processes its inputs in your browser.

Related