D&D Attack Roller

Calculate d20 attack rolls with advantage, disadvantage, and modifiers. Detect natural 20 critical hits and natural 1 critical failures instantly.

Roll Settings

Total Attack Bonus: +6

Attack bonus = ability modifier + proficiency + other bonuses.

Result

Click Roll Attack to start.

d20 Roll -
Second Die -
Total + Bonus -
Outcome Awaiting roll

Recent Attack Rolls

History keeps your last eight dnd attack rolls with total, roll type, and crit detection.

No rolls yet. Roll once to start tracking.

How to Use the D&D Attack Roller

  1. Select whether the roll is normal, with advantage, or disadvantage. Advantage rolls two d20 and keeps the highest, while disadvantage keeps the lowest.
  2. Enter your ability modifier (STR for melee, DEX for ranged or finesse), proficiency bonus, and any extra bonus from a magic weapon or fighting style.
  3. Optional: add the target armor class to instantly see if the attack hits.
  4. Press Roll Attack or hit the space bar to roll the d20. The app displays both dice, your attack bonus, and the final result.
  5. Review the outcome banner to check for natural 20 critical hits, natural 1 critical failures, or simple hit/miss information.

Features for Tabletop Combat

  • Instant Advantage Toggle: Quickly swap between normal, advantage, and disadvantage to model faerie fire, reckless attack, or poisoned conditions.
  • Transparent Math: Ability modifier, proficiency bonus, and magic bonuses are displayed separately so you can explain the roll to your Dungeon Master.
  • Critical Tracking: Natural 20 and natural 1 detection lights up automatically and is saved in the roll history.
  • Target AC Check: Enter an armor class to see “Hit” or “Miss” feedback using your total attack roll.
  • Roll History: Last eight rolls show the raw d20, modifiers applied, and whether the attack was made with advantage.

Game Rules for D&D Attack Rolls

An attack roll in D&D 5e uses a d20, adds your ability modifier and proficiency bonus, and compares the sum to the target’s armor class. Martial classes typically use Strength for melee and Dexterity for ranged or finesse weapons. Spell attacks add the spellcasting modifier listed for your class. For example, a level 5 fighter with +3 Strength and +3 proficiency bonus swings a longsword with a +6 attack bonus. When the main D&D dice roller says natural 20, it always hits and is a critical. A natural 1 automatically misses regardless of bonuses.

Advantage and disadvantage are the most common situational modifiers in D&D. Rolling with advantage means you roll two d20s and keep the higher result (great weapon master + Reckless Attack is a classic combo). Disadvantage keeps the lower result and represents conditions such as being blinded or restrained. The d20 attack roller above automates those comparisons and shows both dice so you can log the attempt in your session notes.

Examples and Combat Tips

Need inspiration? A +7 longbow specialist attacking an AC 16 ogre has to roll 9 or higher to hit. Add advantage from the faerie fire spell and the odds jump dramatically. A warlock using agonizing blast would enter their Charisma modifier as the ability score, toggle disadvantage if they are within 5 feet, and the history log will capture each eldritch blast beam. Mix this tool with the standard dice roller for damage or keep it open next to digital character sheets. Because results stay on screen, it also helps DMs roll monster attacks without thumbing through dice at the table.