Discrete Math

Pascal's Triangle

Generate Pascal's triangle. Free online Pascal's Triangle. Calculate pascal's triangle online — fast, accurate, mobile-friendly, no signup needed.

Generic triangle with sides a, b, c opposite to angles A, B, C.
Pascal's triangle
1 | 1 1 | 1 2 1 | 1 3 3 1 | 1 4 6 4 1 | 1 5 10 10 5 1 | 1 6 15 20 15 6 1

Derivation

  1. ├── 01Givenn = 6
  2. ├── 02Formulaa.map(e=>e.join(" ")).join(" | "|
  3. └── 03Compute Pascal's triangle
Did you know?

Pythagoras of Samos (c. 570–495 BCE) likely wasn’t the first to find a²+b²=c² — Babylonian tablets from ~1800 BCE used it — but the first rigorous proof is credited to his school.

§01What is

Understanding the Pascal's Triangle

The Pascal's Triangle computes Pascal's triangle from 1 input: rows. Generate Pascal's triangle.

Quick calculators for the math that shouldn’t need a notepad — instant, accurate, private to your browser. The Pascal's Triangle sits in that toolkit — it generate Pascal's triangle. Enter your numbers above and the result updates instantly; every step of the math is shown in the Derivation panel so you can see exactly how the answer was reached.

§02The Formula

How it’s calculated

a.map(e=>e.join(" ")).join(" | "|

Where

n
Rows
§03Practical Example

Step-by-step walkthrough

Scenario

Apply the formula to a realistic set of inputs: Rows = 6.

  1. 01Start by noting the input — Rows: 6.
  2. 02Substitute these values into the formula: a.map(e=>e.join(" ")).join(" | "|
  3. 03Compute Pascal's triangle: the calculator returns 1 | 1 1 | 1 2 1 | 1 3 3 1 | 1 4 6 4 1 | 1 5 10 10 5 1 | 1 6 15 20 15 6 1.
  4. 04Cross-check the answer by opening the Derivation panel above — every line of math is shown so you can follow the computation end-to-end.
§04FAQ

Frequently asked questions

Yes. The calculator implements the standard formula as documented and returns exact floating-point results. No approximations are used unless noted in the formula.
Your feedback

How useful was this calculator?

Your ratings stay in your browser — they help us learn which tools people actually rely on.

Rate it
Was this helpful?