A stretch calculator for Rainbow Six Siege. See how stretched your game is, compare every in-game aspect ratio preset, and find the ratio that keeps your stretch when you move to a new monitor.
Live: mcmodersd.github.io/RatioCalc
- Your stretch at a glance: pick your monitor and in-game aspect ratio and get the stretch factor and percent, e.g.
4:3on16:9→×1.333(+33.3 % stretched). - Compare presets: a number line and a table show every R6 preset and how much wider or narrower it would be than your current setup.
- Migrate to a new monitor: pick the new monitor and get the aspect ratio that keeps your stretch, plus the closest R6 preset.
- Monitor detection: your current monitor is pre-selected from your screen resolution.
- Custom values: enter any ratio, resolution or decimal (
16:9,3440x1440,1.85). - Shareable links: your setup lives in the URL, e.g.
?monitor=16:9&ratio=4:3&target=16:10. - Private by design: no cookies, no tracking, no external requests. Everything runs in your browser.
stretch factor = monitor ratio ÷ in-game ratio
stretch % = (stretch factor − 1) × 100
ideal ratio = new monitor ratio ÷ stretch factor
Positive values are stretched, negative values are squished. A factor is used instead of a difference because only the factor looks the same on every monitor. Details and reference values are in docs/LOGIC.md.
- TypeScript with the strictest compiler settings and explicit types everywhere
- Vite for dev server and build
- Plain DOM and CSS, with no framework and no runtime dependencies
- Hosted on GitHub Pages and deployed by GitHub Actions
Requires Node.js 20.19+ or 22.12+.
npm install
npm run devOpen localhost:5173/RatioCalc/.
| Command | Description |
|---|---|
npm run dev |
Start the dev server |
npm run build |
Type-check and build to dist/ |
npm run preview |
Serve the production build locally |
Every push to master or main runs .github/workflows/publish.yaml, which type-checks, builds the site and publishes dist/ to GitHub Pages. It can also be started manually from the Actions tab.
Dependabot checks npm packages and GitHub Actions weekly and opens one grouped pull request per ecosystem.
index.html calculator page
imprint/ privacy/ legal pages
src/ TypeScript modules and styles
docs/ concept, logic, design and architecture docs
| Doc | Content |
|---|---|
| OVERVIEW.md | Purpose, features, user flows |
| LOGIC.md | Formulas, parsing, monitor detection, reference values |
| DESIGN.md | Colors, typography, components, motion |
| ARCHITECTURE.md | Modules, types, data flow |
BSD 3-Clause © 2026 Seraphin Berger
This project is independent and not affiliated with, endorsed or sponsored by Ubisoft Entertainment. Tom Clancy's Rainbow Six® Siege is a trademark of Ubisoft Entertainment.