*Extreme precision*

**References & credits:** ↑

1. Hover your mouse cursor over the parameters & options in the input form, for “tool-tip” help.

2. If you download binomcalc.pl and run it with no parameters, it displays a brief help message.

3. Pierce, Rod (2020). “The Binomial Distribution,” Math Is Fun.

4. OnlineMathLearning Binomial Distribution lesson.

5. There are many other on-line binomial probability calculators. Some good ones are:

- Keisan online binomial probability calculator. This one is
__very__good. In fact, if I'd been aware of it when I wrote mine, I probably wouldn't have bothered to write mine.

- Dr. Harvey Berman's online binomial probability calculator.

- Richard Lowrey's online binomial probability calculator.

- VassarStats online binomial probability calculator.

- iCalcu online binomial probability calculator.

- WolframAlpha binomial probability calculator.

*(please let me know if you find another good one)*

6. This tool is written in Perl 5, and it uses the Perl BigRat module.

7. This tool uses GMP, the GNU Multiple Precision arithmetic library.

8. Q: What's with that odd “.sphp” file extension, anyhow?

A: This webpage is unusually designed,
using HTML, PHP, CGI Perl, GMP, and a wee smidgen of JavaScript.

**Download:** ↑

To download this binomial probability calculator, as a standalone program, right-click here (preview), and
“save link as,” or “save target as,” or similar. It is written in Perl, so you'll need to have Perl installed to use it.
On Windows I use 64-bit Strawberry Perl (currently v5.32.0), but most other recent version 5 Perls should
also work. 32-bit Strawberry Perl works, but it's nearly twice as slow.

(There are no warranties, express nor implied, but you can contact me if you have difficulty.)

**Footnotes:** ↑

^{1} Large values of **n** make the calculation slower. For example, if
` perl binomcalc.pl m=cu a=s n=50000 k=10 p=1/10000 `

^{2} Calculating cumulative probablities, rather than a simple binomial probability, makes the calculation slower,
especially for large values of **k**. For example, calculating cumulative probabilities for k=100 requires calculating binomial
probabilities for 101 different values of k, and summing them.

^{3} Long decimal or repeating decimal values of **p** (or their
rational
equivalents) can make the calculation slower. This mainly affects the “Experimental” precision settings. For example, if
` perl binomcalc.pl m=acu a=x n=35750 k=3 p=1/10000 b=1 `

Last modified: * 06-Apr-2022 (version 35)*

By David A. Burton.

The “last modified” date & version number on this web page are
maintained automatically by TLIB Version Control.