D&D Ability Score Modifier Calculator
Turns an ability score of 1 to 30 into the signed 5e bonus using floor((score - 10) / 2), so 8 gives -1, 10 gives +0, 16 gives +3 and 20 gives +5.
Modificador
—
Why a 9 gives you -1
Character sheet almost done, six scores written down, and then comes the part that stalls the table: turning each ability score into the modifier that feeds every check, attack roll and spell save DC. If you started playing last week you have not memorized the table yet, and a one point mistake only shows up later, when a roll misses by exactly one. Type the score and the modifier comes out signed, ready to copy.
The math is floor((score - 10) / 2), and floor is the word that matters: it always rounds down, negative side included. That is why 9 gives -1 instead of 0, 7 gives -2 and 1 gives -5. Anyone building a spreadsheet with truncation or ordinary rounding gets the top half of the table right and the whole bottom half wrong. Each modifier covers two consecutive scores: 14 and 15 give +2, 16 and 17 give +3.
The label suggests 1 to 30, the range the rules use, but the field blocks nothing: 50 returns +20, and a value with a decimal runs through the same formula instead of being rejected. Add racial bonuses, magic items or ability score improvements to the number before typing, since the page knows nothing about your sheet and only does the conversion. Proficiency bonus is separate math, added later. Everything runs in your browser.
Frequently asked questions
What is the modifier for a score of 20?
Why do 8 and 9 give the same modifier?
Does it apply racial or item bonuses?
Related Tools
DnD 5e Experience Points per Level
A character level from 1 to 20 returns its cumulative XP threshold and what the next one asks for: level 5 sits at 6500 and level 6 needs 14000.
DnD Dice Notation Parser and Roller
Reads one NdM+K expression such as 3d6+2, rolls up to 100 dice of 2 to 1000 faces and returns the total along with each individual die result.
Mega-Sena Single Ticket Generator
Generate random numbers for Mega-Sena (Brazil's biggest lottery). Choose 6 to 15 numbers from 1 to 60, with optional even/odd filters.
+Milionária Number Generator
Generate random numbers and trevos for the +Milionária lottery. 6 to 12 numbers (1–50) and 2 to 6 trevos (1–6).
Tic-Tac-Toe vs Computer
Play tic-tac-toe as X on a 3x3 grid against a computer that replies on a random free square; the board calls the win, loss or draw and resets on demand.
Blackjack Basic Strategy Advisor
Enter your hand total, the dealer upcard from 2 to 11 and the hand type (hard, soft or pair) to get the move the chart calls for: hit, stand, double or split.