Advanced maths

Simplicial homology calculator from maximal simplices

Simplicial homology measures components, independent cycles and higher-dimensional holes in a finite simplicial complex.

Your numbers

Rows; every face is added automatically. Up to five vertices per simplex.
One of 2,3,5,7,11,13.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Simplicial homology measures components, independent cycles and higher-dimensional holes in a finite simplicial complex. Supply its maximal simplices and a prime field. This calculator includes every nonempty face, constructs alternating-sign boundary matrices, computes their modular ranks and checks that consecutive boundary maps compose to zero.

THE FORMULAb_k=dim C_k−rank ∂_k−rank ∂_(k+1), with ∂_(k−1)∂_k=0 over GF(p).

A worked example

The three edges 0–1,1–2,0–2 form a triangle boundary. There are three vertices and three edges, boundary rank two, and Betti numbers b0=1,b1=1. Entering the filled simplex 0,1,2 adds its face and changes b1 to zero while keeping b0 equal to one.

Good to know

Ordinary unreduced homology over GF(p), p in 2,3,5,7,11,13. At most 64 entered simplices, five distinct labels per simplex, labels 0–99 and 1,024 generated faces. Does not compute integral torsion, geometric realization or persistent intervals. Orientation is canonicalized by sorting labels.

Maximal simplices specify all of their faces

A simplex on three labels is a filled triangle, not merely its perimeter. Its three edges and three vertices are included automatically. To model only the boundary, enter the three edges separately. This distinction changes the chain groups and can eliminate a cycle without changing the visible vertex coordinates, which are not needed here.

Redundant lower-dimensional entries are harmless because generated faces are deduplicated by their sorted labels. Vertex labels identify combinatorial vertices, not numeric positions on a line. Relabeling the same incidence structure leaves the homology unchanged, while merging labels can change the complex and its connected components.

Adding a filled face kills the triangular one-cycleBoundary: b1 = 1Filled: b1 = 0→
Three edges on vertices 0,1,2 have boundary rank two and b1=1. Adding the filled triangle gives rank ∂2=1 and b1=3−2−1=0. In both cases ordinary b0 is one.

The Finite topological space property checker covers a related task. This page focuses on simplicial homology calculator from maximal simplices with the method limits and worked example described below.

Boundary ranks determine cycles modulo boundaries

The kernel of a boundary matrix contains cycles, but some cycles are already boundaries of higher-dimensional simplices. Betti numbers subtract both ranks from the chain-group dimension. Counting graph cycles alone would therefore overestimate b1 when filled triangles are present.

Alternating signs in the simplex boundary make every codimension-two face cancel in the composition of consecutive boundary operators. The implementation verifies that identity modulo the selected prime. Over GF(2), minus and plus agree; over odd primes, retaining the alternating signs is essential to avoid a broken boundary-square-zero certificate.

The coefficient field controls what can be detected

Linear algebra is performed modulo the selected prime. Composite moduli are rejected because nonzero pivots might not be invertible there. Field Betti numbers summarize vector-space dimensions, but they do not recover the full integer homology group or list torsion factors.

Changing the prime can reveal field-dependent behavior in complexes with integral torsion, yet interpreting that difference requires additional algebra. This calculator reports the chosen-field result directly. The finite topology property checker addresses a different input structure; this page uses simplices, boundary maps and rank certificates rather than an arbitrary family of open sets.

A few questions, answered

How do I enter a triangle boundary?

Enter its three edges, not the single three-vertex filled simplex.

Can I use modulus six?

No. The rank algorithm requires a prime field so every nonzero pivot is invertible.

Find your calculator

Start typing to explore the library.