Since 2010 · Powering 2M+ tool runs every month
Since 2010
Add to Chrome

My Toolbox

Automatic Mode

No saved tools yet.

Go Premium
Related tools
Ring and Field CalculatorPrimitive Root CalculatorMöbius Function CalculatorInteractive Periodic TableLipogram Checker
Home Page > Math > Advanced Math Operations

Group Theory Order Calculator

Compute the order of every element in a finite group, check whether it is abelian or cyclic, render the Cayley table as a colour-coded heatmap, and view the subgroup lattice as a Hasse diagram. Covers cyclic, dihedral and symmetric groups.

Free to useNo sign-up requiredInstant Results
Group Theory Order CalculatorTry it now — free ▼
Only used for the product Z_m × Z_n.
Any integer between 1 and 120 for Z_n.
e.g. 5 — any integer (reduced mod n).

Embed Group Theory Order Calculator Widget

About Group Theory Order Calculator

The Group Theory Order Calculator is an interactive tool for studying finite groups: it computes the order of every element, detects whether the group is abelian and whether it is cyclic, renders the Cayley multiplication table as a heat-map colored by element order, and draws the full subgroup lattice as a Hasse diagram. It supports the four most common families encountered in an introductory algebra course: cyclic groups Zn, direct products Zm × Zn, dihedral groups Dn, and symmetric groups Sn.

What Is the Order of an Element?

Given a finite group G with identity e, the order of an element g ∈ G, written |g| or ord(g), is the smallest positive integer k for which

gk = e

Equivalently, the order of g is the size of the cyclic subgroup it generates: |⟨g⟩| = ord(g). Lagrange's theorem guarantees that ord(g) always divides |G|, so for a group of order 12 the possible element orders are 1, 2, 3, 4, 6, and 12.

Closed Formulas for Common Groups

Cyclic group Zn

Under addition modulo n, the order of the element k is

ord(k) = n / gcd(n, k)

The group is always cyclic (generated by 1), and the number of generators equals Euler's totient function φ(n).

Direct product Zm × Zn

ord(a, b) = lcm( ord(a) in Zm , ord(b) in Zn )

The product is cyclic — and therefore isomorphic to Zmn — if and only if gcd(m, n) = 1. This is the Chinese Remainder Theorem restated for groups. For instance, Z3 × Z5 ≅ Z15, but Z2 × Z4 ≇ Z8.

Dihedral group Dn

Dn has 2n elements: n rotations rk and n reflections s·rk. Element orders follow a simple pattern:

ord(rk) = n / gcd(n, k) , ord(s·rk) = 2 for every k

Every reflection is an involution (order 2). Dn is non-abelian for n ≥ 3.

Symmetric group Sn

The order of a permutation equals the least common multiple of its cycle lengths in disjoint-cycle notation:

ord( (1 2 3)(4 5) ) = lcm(3, 2) = 6

Sn has order n! and is non-abelian for n ≥ 3.

How the Cayley Table Encodes Everything

A Cayley table is the group's multiplication table: the entry in row a, column b is the product a · b. Three elegant properties fall out of the group axioms:

In this calculator, cells are colored by the order of the resulting element, so you can see structural patterns at a glance. For instance, in a cyclic group the rows are cyclic shifts of each other — a visually striking rainbow.

The Subgroup Lattice

The set of all subgroups of G, ordered by inclusion, forms a lattice (in the order-theory sense). We draw it as a Hasse diagram: the trivial subgroup {e} at the bottom, the whole group G at the top, with an edge H → K whenever K ⊂ H is a covering relation (no subgroup sits strictly between them). Key facts revealed by the lattice:

Feature What it tells you
Height of the lattice Length of the longest chain of subgroups — bounded by the number of prime factors of |G|.
Number of maximal subgroups Subgroups covered directly by G. For a cyclic group of order pk there is exactly one.
Normal subgroups (solid outline) Subgroups invariant under conjugation. A group is simple iff the lattice has only {e} and G as normal subgroups.
Cyclic subgroups Each element generates one. In an abelian group every subgroup is a sum of cyclic subgroups (Fundamental Theorem of Finitely Generated Abelian Groups).

Worked Example — D4, the Square

The dihedral group of order 8 acting on a square has eight elements: e, r, r², r³ (rotations) and s, sr, sr², sr³ (reflections). The tool derives:

How to Use This Calculator

  1. Pick a group family using the tabs: Cyclic, Product, Dihedral, or Symmetric.
  2. Enter parameters. One integer n for Zn, Dn, and Sn; both m and n for the direct product.
  3. Optionally query an element by typing it into the Highlight field — e.g. 8 for Z12, (1,2) for a product, r^2 or s·r^3 for Dn, or (1 2 3) for Sn. The tool prints its order and the cyclic subgroup it generates.
  4. Click Analyze Group. You get the Cayley table (colored by order), a bar chart of the order distribution, a scrollable list of every element with its order, and the subgroup lattice as a Hasse diagram with hover-to-inspect details.
  5. Hover a lattice node to see its elements, generators, and whether it is normal. Hover a Cayley cell to see which row and column produce it.

Limits in This Version

Common Applications

Frequently Asked Questions

What is the order of an element in a group?

The order of an element g in a finite group G is the smallest positive integer k such that gk equals the identity. By Lagrange's theorem the order of every element divides the order of the group.

How do I compute the order of an element of Zn?

For the cyclic group Zn under addition modulo n, the order of the element k is n / gcd(n, k). For example, in Z12 the element 8 has order 12 / gcd(12, 8) = 12 / 4 = 3.

When is a group cyclic?

A finite group is cyclic if and only if it contains an element whose order equals the order of the group. Every cyclic group of order n is isomorphic to Zn. The direct product Zm × Zn is cyclic if and only if gcd(m, n) = 1.

What is a Cayley table?

A Cayley table is a square multiplication table that lists the product of every pair of group elements. The entry in row a and column b is the product a · b. Rows and columns of a Cayley table are each permutations of the group elements — a property called the Latin-square property.

What is a subgroup lattice?

The subgroup lattice of a finite group G is the partially ordered set of all subgroups of G ordered by inclusion. Drawn as a Hasse diagram it makes it easy to see which subgroups are contained in which, and to spot normal subgroups or chief series.

Why is S3 isomorphic to D3?

Both groups have order 6 and the same multiset of element orders (one element of order 1, two of order 3, and three of order 2). The six symmetries of an equilateral triangle — three rotations plus three reflections — correspond exactly to the six permutations of its three vertices, so the two groups are abstractly the same group. Generate both in this calculator and you will see the subgroup lattices match exactly.

Further Reading

Reference this content, page, or tool as:

"Group Theory Order Calculator" at https://MiniWebtool.com/group-theory-order-calculator/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: Apr 23, 2026

You can also try our AI Math Solver GPT to solve your math problems through natural language question and answer.

Advanced Math Operations:

Top & Updated:

Set Theory CalculatorSecond-Order ODE SolverOrder of Operations Calculator (PEMDAS)View all →
Home Page > Math > Advanced Math Operations > Group Theory Order Calculator