Skip to main content

Euler Characteristic Calculator

Calculate the Euler characteristic χ = V − E + F of a polyhedron or mesh from its vertex, edge, and face counts, then classify which named surfaces (sphere, torus, Klein bottle, projective plane, Möbius strip...) share that characteristic and derive the orientable genus or nonorientable crosscap number.

Input

Output

Result
MetricValue
No data yet
Result
PropertyValue
No data yet
Was this helpful?

More ways to use this tool

REST API

curl -X POST https://api.iotools.cloud/v1/tool/euler-characteristic-calculator \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "vertices": "8",
    "edges": "12",
    "faces": "6"
  }'

Swap in your own key from your account. The tool's fields are the body — no wrapper.

Ask an AI agent

Use the IOTools `euler-characteristic-calculator` tool (Euler Characteristic Calculator) on this input:

YOUR_INPUT_HERE

Paste this at any agent connected to the IOTools MCP server, then add your input.

Embed widget

<iframe
  src="https://iotools.cloud/embed/euler-characteristic-calculator/"
  width="100%" height="520" frameborder="0" scrolling="no" loading="lazy"
  title="Euler Characteristic Calculator — iotools.cloud"
  sandbox="allow-scripts allow-forms allow-same-origin allow-downloads allow-popups allow-popups-to-escape-sandbox"
  allow="clipboard-write"
  style="width:100%;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden"></iframe>
<script src="https://iotools.cloud/embed.js" async></script>

Drop this into your own page — free, no key required, just a link back.

Cost per API/MCP callFrom 5 credits
Need more credits?View pricing

Also available with

Guides

The Euler Characteristic Calculator computes χ = V − E + F for a polyhedron or polyhedral mesh from its vertex, edge, and face counts, then goes a step further: it matches that number against a reference table of named surfaces (sphere, torus, Klein bottle, real projective plane, Möbius strip, ...) and derives the orientable genus or nonorientable crosscap number implied by the result.

How to use it

  1. Enter the number of vertices (V), edges (E), and faces (F) of your polyhedron or mesh.
  2. Read the Euler characteristic χ = V − E + F.
  3. Check the classification table: the orientable genus (if χ fits a closed orientable surface), the nonorientable crosscap number (if χ fits a closed nonorientable surface), and any named surfaces sharing that same χ.

The formula

For any polyhedron (or more generally, any CW complex built from vertices, edges, and faces):

χ = V − E + F

  • χ = 2 — topologically a sphere (a cube, tetrahedron, or any convex polyhedron).
  • χ = 0 — topologically a torus (or a Klein bottle, Möbius strip, or annulus — χ alone can't distinguish orientable from nonorientable without extra information).
  • χ = 2 − 2g — a closed, orientable surface of genus g (a "g-holed torus"). Solving for g gives g = (2 − χ) / 2.
  • χ = 2 − k — a closed, nonorientable surface with k crosscaps (k = 1 is the real projective plane, k = 2 is the Klein bottle). Solving for k gives k = 2 − χ.

Because a given χ can correspond to more than one surface (a torus and a Klein bottle both have χ = 0), the calculator lists every common named surface that matches, rather than assuming orientability.

Worked example

A cube has 8 vertices, 12 edges, and 6 faces: χ = 8 − 12 + 6 = 2, matching genus g = (2 − 2) / 2 = 0 — a sphere, as expected for any convex polyhedron.

A torus-shaped mesh with 16 vertices, 32 edges, and 16 faces gives χ = 16 − 32 + 16 = 0, matching genus g = 1 (a torus) — the same χ also matches a Klein bottle (crosscap number 2), a Möbius strip, and an annulus, since χ alone doesn't capture orientability or boundary.

Frequently asked questions

Does this work for any polyhedron, not just Platonic solids?

Yes — the formula χ = V − E + F holds for any simple (non-self-intersecting) polyhedron with genus-0 topology, and more generally for any polyhedral mesh once you also know whether it's closed and orientable.

Why does χ = 0 match four different surfaces?

The Euler characteristic alone doesn't record orientability or whether the surface has a boundary — a torus (closed, orientable), a Klein bottle (closed, nonorientable), a Möbius strip (boundary, nonorientable), and an annulus (boundary, orientable) all happen to share χ = 0. You need that extra information to pick among them.

What if my χ doesn't match a genus or crosscap number?

Genus only applies when 2 − χ is even and non-negative (closed orientable surfaces); crosscap number only applies when 2 − χ is at least 1 (closed nonorientable surfaces). An odd, positive χ like 1 fits crosscap number 1 (the real projective plane) but no integer genus — the calculator shows "N/A" for whichever doesn't apply.

Is my data sent anywhere?

No. All calculations run locally in your browser. Your input never leaves your device.

euler characteristicv minus e plus fpolyhedron formulagenus calculatorcrosscap numbertopology calculatorsphere torus klein bottleclosed surfacegraph theory

Love the tools? Lose the ads.

One payment clears every ad from your account, for good. No subscription, no tracking.