Home / Science / Maths, statistics and computing / Pure mathematics / Group theory explorerTool #545

Group theory explorer: Cayley tables, element orders, subgroups, normal subgroups, centre and cosets of small groups

Pick a small group (cyclic, dihedral, S3, S4, A4, A5, Klein four, quaternion or the units mod n) and see its Cayley table, the order and inverse of every element, conjugacy classes, centre, every subgroup with its lattice, which subgroups are normal, cosets and quotient groups.

Keep it one tap away for everyday use.

Bookmark Group theory explorer?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Pick group
  2. Cayley table
  3. Subgroups
  4. Cosets
Nothing is uploadedWorks offline once open

Group

Summary

Download

Cayley table

Row × column. Each element has its own colour, so patterns show at a glance: a cyclic group gives diagonal stripes, and blocks show subgroups and cosets.

Elements

Subgroups

Normal subgroupNot normalChosen below

Cosets and quotient

What it does

Group theory is easier to learn when you can see the groups. This explorer builds a small group from its definition and works out its structure from the multiplication table:

  • Cayley table (the multiplication table), drawn in colour so that patterns stand out, with a CSV download.
  • Every element: its order, its inverse, the size of its conjugacy class and of its centraliser, and whether it is in the centre.
  • Summary: order, abelian or not, cyclic or not, exponent, the centre Z(G), the commutator subgroup, the conjugacy classes and how many elements have each order.
  • Every subgroup, with a generating set, its index, and whether it is normal, plus the subgroup lattice drawn by order.
  • Cosets of any subgroup you choose, left and right, and the quotient group G/H when H is normal.

The groups: cyclic Z_n (n up to 100), dihedral D_n of order 2n (n up to 32), symmetric S3 and S4, alternating A4 and A5, the Klein four-group V4, the quaternion group Q8, and the unit group Z_n^× of the numbers coprime to n under multiplication mod n (n up to 150).

How to use it

  1. Choose a group, and n where it asks for one.
  2. Read the summary, then look at the Cayley table: a cyclic group shows diagonal stripes, and blocks of colour show a subgroup and its cosets.
  3. In the subgroup list, normal subgroups are marked; in the lattice they are the filled dots.
  4. Choose a subgroup H under “Cosets and quotient” to list its left and right cosets. If they are the same sets, H is normal and G/H is a group.
  5. Download the report as an image, PDF or Word file, or the tables as CSV.

Conventions

Dihedral elements are written r^k (turns) and r^k s (reflections), with s r s = r⁻¹. Permutations use cycle notation on 1 to 4 (or 5), and products are read right to left: (1 2)(1 2 3) means do (1 2 3) first, giving (2 3). Some books use the other order; the structure (orders, subgroups, normality) is the same either way.

Worked example

The page opens with D4, the 8 symmetries of a square. It is not abelian, has exponent 4, and its element orders are 1 of order 1, 5 of order 2 and 2 of order 4. The centre is {e, r^2}, the commutator subgroup is also {e, r^2}, and there are 5 conjugacy classes, of sizes 1, 2, 1, 2, 2. D4 has 10 subgroups, 6 of them normal: the four reflection subgroups such as ⟨s⟩ are the only ones that are not.

The cosets section opens on H = ⟨s⟩ = {e, s}, index 4. Its left cosets are {e, s}, {r, rs}, {r^2, r^2s} and {r^3, r^3s}, but the right coset Hr is {r, r^3s}, so H is not normal. Choose ⟨r⟩ instead and the left and right cosets agree, and D4/⟨r⟩ is cyclic of order 2.

Try S4 (30 subgroups, 4 normal), A5 (59 subgroups, only 2 normal: it is simple), or Q8, where every subgroup is normal although the group is not abelian.

Frequently asked questions

Why only these groups? They are the ones met in a first course. Finding every subgroup is quick up to a few hundred elements, so the sizes are capped to keep the page fast.

Can I type my own Cayley table? Not yet; pick the nearest family. Z_n^× covers many abelian groups, for example Z8^× is the Klein four-group.

Is anything sent anywhere? No. Everything is worked out in your browser.

Where the numbers come from

  • Standard group theory (Cayley, Lagrange, Galois). The groups are built from their definitions; the tool works everything out from the multiplication table.
  • Checked against sympy.combinatorics (named permutation groups, centre, conjugacy classes, derived subgroup, is_normal and all subgroups by closure) on 22 groups up to order 64, and against the textbook counts (S4 has 30 subgroups, A5 has 59 and is simple).

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-09.

Related tools

Number theory toolkit #544 Test whether a huge number is prime, factorise it, find gcd and lcm with the extended Euclid table, work out modular powers and inverses, solve Chinese remainder systems, and expand continued fractions with their convergents. Exact whole-number arithmetic, in your browser. Knot and braid diagram drawer #546 Type a braid word such as σ1 σ2^-1 σ1 σ2^-1 and see the braid drawn, with its closure as a knot or link. Get the crossing count, writhe, permutation, number of components, linking numbers and the Alexander polynomial, worked out exactly from the Burau representation. Combinatorics calculator #557 Count exactly, with every digit: permutations and combinations with or without repetition, multinomial coefficients (arrangements of a word), Stirling numbers of both kinds, Lah numbers, Bell and Catalan numbers, integer partitions and derangements, with tables you can download. Graphing calculator #541 Plot y = f(x), any equation in x and y, polar r(θ) and parametric (x(t), y(t)) curves together, with sliders, zoom, tap-to-trace, roots, turning points and crossings, plus 3D surfaces z = f(x, y). Download PNG, SVG or CSV. Runs in your browser. Symbolic algebra (lite CAS) #542 Type an expression and simplify, expand or factor it, differentiate it, integrate it (with definite integrals), or substitute values. Exact fractions, answers you can copy as SymPy or LaTeX, and an honest 'could not integrate' when it is out of reach. Checked against sympy. Matrix calculator #543 Determinant, inverse, rank and row reduction with every step in exact fractions, solving A x = B, products and powers, eigenvalues and eigenvectors (complex ones too), and LU, QR, Cholesky and SVD decompositions. Checked against numpy and sympy.