About ScapeLab

ScapeLab is an open-source DPS calculator and gear optimizer for Old School RuneScape. Use it to compare different loadouts and plan for maximum damage against any npc or monster.
How It Works
The calculator uses the official combat formulas from Old School RuneScape to provide accurate damage-per-second (DPS) calculations. These formulas include:
- Effective combat levels based on boosts, prayers, and stances
- Attack roll calculations including equipment bonuses
- Defence roll calculations for monsters
- Hit chance determination using both attack and defence rolls
- Max hit calculations including all applicable bonuses
- Special effect calculations (e.g., Twisted Bow, Tumeken's Shadow)
Features
- Calculate DPS for all three combat styles: Melee, Ranged, and Magic
- Select from a database of npcs with accurate defense stats
- Choose from combat equipment with their respective bonuses
- Compare different setups side-by-side
- Accurate calculations for weapon special effects
Data Sources
The data for npcs, monsters, and items is sourced from theOld School RuneScape Wikivia our custom scraper. This ensures that the information used in calculations is as accurate and up-to-date as possible.
Technologies Used
This calculator is built with:
- Frontend: Next.js, React, TanStack Query, Zustand, shadcn/ui
- Backend: FastAPI, Python, SQLite
Feedback & Contributions
This project is completely open source. Contributions, bug reports and feature requests are welcome onGitHub.
ScapeLab is built by players, for players, and is not affiliated with Jagex Ltd.