Hexagonal Number Calculator

Find nth hexagonal number with n(2n-1) and next value.

Math and PercentUpdated 2026-10-161 min read
Hexagonal Number Calculator
Hexagonal
...
Next...
Triangular n...

What it does

Hexagonal numbers arrange dots in nested hexagons. Each shell adds a hexagonal ring. Totals grow near twice n squared.

The tool above takes n and returns hexagonal, next, and triangular n. The default 100 matches the worked example, so the page opens showing 19,900. Type a new n to update all three results.

The form n(2n-1) needs one double, one shift, and one multiply. For 100 it is 100 times 199. Triangular n(n+1)/2 sits alongside: 100 gives 5,050.

Use this for figurate studies and sequence checks. Hexagonal numbers equal every other triangular: H(n) = T(2n-1).

This page shows the formula, one full hand checked example at n = 100, a short table, and practice checks that run through the tool.

How to use

  1. Pick position n.
  2. Type n as a whole number.
  3. Keep n between 1 and 1000000.
  4. Read Hexagonal as the main result.
  5. Read Next for n+1.
  6. Use Triangular n to compare families.

Formula

H(n) = n x (2n-1).
n
Position, whole number.
H(n)
nth hexagonal number.
T(n)
Triangular n for reference.

Results stay whole for whole n. Cap at 1000000 keeps integers exact.

Worked example

Example: n = 100

Find the 100th hexagonal number.

  1. Write n = 100.
  2. 2n-1 = 199.
  3. Multiply: 100 x 199 = 19,900.
  4. Triangular 100 = 5,050.
  5. Next at 101: 101 x 201 = 20,301.
  6. Check: hex grows near 2n squared.

Reference table

First hexagonal numbers
nHexagonalTriangular
111
263
1019055
10019,9005,050

Limits

  • Whole n only 1 to 1000000.
  • Standard hexagonal here, not centered.
  • Large values need commas.
  • No partitions computed here.

Common mistakes

  • Using n(3n-1)/2 pentagonal form by mistake.
  • Doubling after multiplying instead of before.
  • Entering n = 0.
  • Mixing hexagonal with hexadecimals.
  • Reading next as plus n.

Try it yourself

Quick checks. Answers sit tucked under each question.

Hex 10?

190 with next 231 and triangular 55.

Triangular 100?

5,050.

Questions

Hexagonal?

n(2n-1).

100th?

19,900.

Next?

Form at n+1. Here 20,301.

Triangular?

n(n+1)/2. Here 5,050.

Max n?

1000000 here.

Use?

Figurate studies.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.