Anydice.com is a dice probability calculator, offering probability curves for defined rolls, along with a function library for more complex calculations.

learn more… | top users | synonyms

30
votes
5answers
4k views

How many rolls does it take to get to six coins?

I'm designing a microRPG and need some help calculating probabilities so I can make an informed decision about how many coins to start with (controlling session duration and early-game frustration). ...
12
votes
4answers
362 views

How does replacing Advantage with a flat +2 affect Champion critical hit damage output?

My DM does not like Advantage/Disadvantage. While I disagree with his reasons on this, he has decided to replace it with a +2/-2 rule and I respect him (mostly) enough to follow his rules. I recently ...
11
votes
4answers
2k views

What is your chance to win in a contest where you have advantage and your opponent has disadvantage?

I'm trying to think of the answer to a certain problem, but I'm finding it hard to calculate. How much of a statistical edge do you have in a scenario where all of the following are true? You ...
2
votes
1answer
66 views

What is incorrect with my Anydice logic for 'Weapons of the Gods' roll mechanics?

While scouting Actual Play write-ups, I have encountered a reference for an interesting dice-rolling mechanic. For a test, players roll a pool (3-7) of d10 (but 0..9 not 1..10). The value coming ...
9
votes
2answers
140 views

How can I get the highest or lowest values of an irregular dice pool in AnyDice?

I want to calculate irregular dice pools, such as (2d10, 1d8) in AnyDice, but I'm having difficulties. What I mean to do is out of a roll of 2d10 and a 1d8, take the highest (or lowest) two values ...
5
votes
3answers
267 views

How to compare hit % and damage between 1 attack vs 4 attacks with disadvantage?

Quite a few scenarios here, wish my AnyDice fu were up to par—if it's too much, no need to cover all of them, just the most representative, so I can figure out the rest. For the given character ...
3
votes
1answer
135 views

AnyDice functions and subsequent dice rolls

I've just discovered AnyDice and I'm trying to use it to model a simple problem and failing miserably. That usually means there is some basic concept I'm not understanding. First, the problem. I just ...
2
votes
1answer
105 views

Compare die pool probabilities in AnyDice

I'd like to evaluate the win percentage when 3d6 keep the highest 2 [add them together] compares to 5d6 keep highest 2. The function in AnyDice would hopefully be able to modified to compare any d6 ...
2
votes
2answers
103 views

How do I alter a sequence element in Anydice?

I have a sequence storing a variety of stats for a unit which will be put through a probabilistic gauntlet. Because the gauntlet is multi-step and I want to know when the unit's hp reaches 0, I need ...
3
votes
2answers
151 views

How to calculate probabilities for a three pool elimination mechanic?

I've been struggling to get my head around this dice pool mechanic either in anydice or even a bespoke program. There are 3 pools of d6, call them A, B & C: ...
2
votes
1answer
112 views

Help with AnyDice Script for a d6 Dice Pool

I need a script for AnyDice to generate some averages for me. I want to know the average d6 roll for: 1 die of a pool of 1 (which I know approaches 3.5) highest 1 die of a pool of 2 dice highest 1 ...
1
vote
1answer
120 views

Help calculating opposing dice pool in AnyDice

I need to calculate the probability of A winning against B. Both A and B throw 1-15 d6s, the one with more successful dice (SD) wins. There are actually 5 possibles outcomes: ...
5
votes
3answers
590 views

How should I emulate the highest in an irregular dice pool in AnyDice?

Basically, I'm trying to do something like [highest 1 of {a pool of Xd4, Yd6, Zd8, etc, all together}] For example:I roll 1d4 and 1d6 and 1d8; their results are, respectively, 4(out of 4 max), 5(out ...
4
votes
2answers
484 views

Is it possible to model this die with anydice?

In anydice, I'd like to create a die, so that a roll would be the sum of 4 random values from the following sequence: {1, 1, 1, 1, 1, 3, 3, 3, 5, 5, 7} So that ...
5
votes
4answers
259 views

AnyDice Help: ORE-Like Resolution

I am looking for help with creating an AnyDice program that can calculate the possibilities of the following mechanic. Players roll a number of d6, then proceed to sum all dice of a single set of ...
5
votes
2answers
329 views

Modelling an opposed dice pool mechanic in AnyDice

I humbly request an AnyDice program for this mechanic: The attacker (A) rolls a number of d6 based on his parameters. The defender (D) rolls a number of d6 based on his parameters. The highest die ...
3
votes
2answers
655 views

How to model a dice pool with re-rolls mechanic? [closed]

I have a dice mechanic where players roll a number of D10s and have a different number of re-rolls they can use to maximize the total. For example: The player has 3D10 and 2 re-rolls. They roll 9,6,3 ...
12
votes
2answers
1k views

Help Writing an AnyDice Function for a Weird Dice Mechanic

I've thought of a dice mechanic that I'd like to test the numbers for, but it's complicated enough that I don't know how to model it in AnyDice. It's sort of a modified dice pool, where the successes ...
2
votes
2answers
208 views

Is there a paper/manuscript explaining the theory behind AnyDice? [closed]

I am using the AnyDice website to calculate probabilities on any number of dice with any arbitrary number of sides. May I please have a link to a formal discussion of this very elegant subject?
3
votes
6answers
637 views

Dice probabilities when rolling more dice than needed

I have a very similar question to Using AnyDice to determine the odds of getting a specific number sequence on multiple dice I want to know the odds of rolling a 1,2,3 out of 4d6. Or getting a 3 and ...
7
votes
2answers
256 views

How do I find the highest number rolled in a pool if dice, and the number of times it is rolled using AnyDice?

I am learning the basics of AnyDice, and have seen it used to accomplish some rather complex algorithms. I'm running into a very rudimentary problem. Say I want to roll a pool of five ten-sided dice, ...
6
votes
1answer
373 views

How can I execute code depending on a die value in AnyDice?

I'd like to be able to have a conditional test the value of a die or set of dice. Here's a simple example using a d6, but I'm looking for a way to check values of arbitrary dice sets. ...
5
votes
2answers
1k views

Using AnyDice to determine the odds of getting a specific number sequence on multiple dice

After a few hours trying to design the proper code in AnyDice, I had to admit I didn't find a proper way to reach my goal, so I'm wondering if someone could give me a helping hand. Here is the ...
5
votes
3answers
836 views

Help Calculating Dice Odds for a Unique d6 Dice Pool

I'm attempting to design a unique d6 dice pool system, and I want to try programming the probabilities in AnyDice but I'm not sure how. Here's how the system works: Dice pools are between 2 and 10 ...
1
vote
1answer
403 views

Incorporating expanded crit-range into anydice?

Not sure if this is a valid "tools" question, but here goes: I want to compare a build that can attack 5 times, with a 5% critical chance; to a build that can attack 3 times, but with a 15% critical ...
4
votes
3answers
276 views

What is the average outcome of this opposed roll resolution mechanic?

Trying to work out the average number of successes for an opposed roll using the following system but can't quite seem to get it to work in Anydice Roll (3d6-5)+Stat+Skill+Modifier 3 6s = crit, ...
6
votes
3answers
556 views

Complicated Homemade Game dice odds, AnyDice or Troll formula help required

I'm playing a home made game, and it uses a slightly complicated system with regards to training. It works rolling 1d10+bonuses against a variable target number, minus "headway". Headway is gained ...
7
votes
0answers
809 views

Probabilities using 3d10 as 1d1000 [duplicate]

I'm trying to use anydice to figure out the probabilities of the various values of 1d1000 rolled on 3d10. I want to know stuff like "what's the chance of rolling 900 or higher? How about 950 or ...
8
votes
1answer
997 views

How can I use AnyDice to check counting-success probabilities?

Sorry for asking a "do the work for me" type question, but I'm looking at the AnyDice documentation and appear to be missing something. I'm hoping to not just get the question answered, but learn how ...
2
votes
1answer
201 views

How do you calculate the odds of success for an ability contest

I'm having a hard time understanding how to figure out the odds of success from an ability contest. I originally thought that each +1 would be 5% but anydice suggests 4% but only after a +1 ...
3
votes
2answers
333 views

Odds of Tzeentch's Curse in Mass Battles port

Mass Battles is often casually considered an easy mechanic of Savage Worlds to port to other systems. I'm finding it easily so, save some edge cases. I like the idea in Mass Battles of heroes running ...
4
votes
3answers
651 views

How do I use AnyDice with Classic World of Darkness / 20th Anniversary?

How can I take advantage of AnyDice with 20th Anniversary rules? I'm new to AnyDice but very interested in using it. I would like a wrapper function that accepts the following params. the number of ...
8
votes
3answers
2k views

How can I get AnyDice to determine these odds?

After looking at AnyDice's Documentation and Function Library, I remain baffled. I know that AnyDice can do this, but I don't know how to tell it to. Scott Gray's Dice Pool Generator is easier to use ...
9
votes
2answers
2k views

How can I model Burning Wheel probabilities in AnyDice?

I have a basic intuition about dice in Burning Wheel, but it's handy to be able to look at actual probability distributions to hone your intuition. Especially since important rolls can involve ...
6
votes
2answers
445 views

How do I calculate average damage for WFRPG using AnyDice?

In First Edition of WFRPG Damage during combat works as follows: You roll 2d10 as a perctile die. If you get lower than your skills you hit. You then roll a 1d6 + damage modifier. If you roll a 6, ...