Security Bot Protection Accessibility

Math CAPTCHA: What It Is, Examples & Why It Falls Short

Math CAPTCHA explained: how it works, number captcha examples, why bots bypass it instantly, and what modern alternatives actually protect your site.

Published May 07, 2026 · 9 min read

Math CAPTCHA at a Glance — Key takeaways

What Is a Math CAPTCHA?
A math CAPTCHA presents users with a simple arithmetic question — such as "3 + 5 = ?" — to prove they are human. It is one of the oldest CAPTCHA types and is still found in many legacy contact forms, WordPress plugins, and open-source forum software.
Security: Bypassed in Minutes by Any Bot
Modern AI tools and free open-source solvers crack math CAPTCHAs instantly. A screenshot fed into ChatGPT returns the answer before a human could type it. For any technically capable attacker, a math CAPTCHA offers the same protection as no CAPTCHA at all.
Accessibility: A Real Compliance Risk for EU Sites
Arithmetic questions impose cognitive load and exclude users with dyscalculia or cognitive disabilities. Under the European Accessibility Act (EAA), effective June 2025, math CAPTCHAs without accessible alternatives may be non-compliant for businesses operating in the EU.
Modern Alternatives Run Invisibly
Invisible bot detection — combining proof-of-work with bot scoring — protects forms without asking users to do anything. TrustCaptcha runs fully in the background, is cookie-free, GDPR-compliant, and hosted entirely within the EU.
On this page
  1. What Is a Math CAPTCHA?
  2. How a Math CAPTCHA Works
  3. Math CAPTCHA and Security: The Real Picture
  4. Math CAPTCHA and Accessibility: A Compliance Risk for EU Businesses
  5. Where Math CAPTCHAs Still Appear Today
  6. What to Use Instead of a Math CAPTCHA
  7. Key Takeaways
  8. Try TrustCaptcha for Free
Share this post

What Is a Math CAPTCHA?

A math CAPTCHA (which stands for mathematical captcha) is a challenge–response test that asks users to solve a simple arithmetic problem before submitting a web form. Common CAPTCHA math questions look like this: “What is 4 + 9?”, “Solve: 15 − 7 = ?”, or “Enter the result: 6 × 3.” If the user provides the correct answer, the form accepts the submission. If not, it rejects it as a likely bot.

The idea behind a math CAPTCHA is the same as behind all CAPTCHA types: create a test that is trivial for humans and hard for computers. In the early 2000s, when most bots were rigid scripts with no cognitive ability, arithmetic questions were a real barrier. Today, they are not. This article covers how math CAPTCHAs work, why they have significant security and accessibility problems, and what website owners should use instead.

Example of a math CAPTCHA question on a web form

How a Math CAPTCHA Works

The technical implementation of a math CAPTCHA is deliberately simple, which is one of the reasons it remains so widespread in legacy systems.

  1. Question generation — The server generates a random arithmetic expression (most commonly addition or subtraction, occasionally multiplication).
  2. Display — The expression appears inside the form, either as plain HTML text or as a rendered image.
  3. User input — The user reads the question, calculates the answer, and types it into a designated input field.
  4. Validation — On form submission, the server compares the submitted value to the expected answer. A mismatch triggers a rejection message.

Math CAPTCHA Examples

Below are representative math CAPTCHA question formats you will encounter across the web:

  • What is 6 + 4? → expected answer: 10
  • 12 – 5 = ? (rendered as an image) → expected answer: 7
  • Enter the sum of 8 and 3: → expected answer: 11
  • A “number CAPTCHA” with a label like Type the answer: 9 + 6 → expected answer: 15

This simplicity is the appeal: no third-party API, no account, no recurring cost, and only a few lines of server-side code. It is built into older WordPress plugins like Really Simple CAPTCHA, phpBB’s forum software, and countless custom PHP contact forms. In many cases, site owners have not revisited their CAPTCHA choice since initial setup — the math CAPTCHA is simply still there as the default.

Math CAPTCHA and Security: The Real Picture

This is where the critical gap between perception and reality becomes apparent. A math CAPTCHA looks like protection. In practice, against any attacker with even minimal technical capability, it offers none.

AI Solves Math CAPTCHAs Instantly

AI model solving a math CAPTCHA by reading and answering an arithmetic question via OCR

The clearest demonstration of the problem: take a screenshot of a math CAPTCHA and paste it into ChatGPT, Claude, Gemini, or any multimodal AI model. The correct answer appears before a human user could even finish reading the question.

Solving math CAPTCHAs requires no programming knowledge, no infrastructure, and no dedicated tools — just an AI assistant that any person with internet access already has. Any bot operator integrating an AI API call for image-to-text extraction plus arithmetic evaluation can fully automate this in under a day. The fundamental security assumption behind math CAPTCHAs — that arithmetic is hard for computers — has been false for years.

For text-rendered math CAPTCHAs (where the question appears as HTML text rather than an image), the barrier is even lower. A simple regex pattern that extracts two numbers and an operator, followed by basic arithmetic, solves every question in milliseconds. No AI required.

Free Math CAPTCHA Solver Tools Exist

Dedicated math CAPTCHA solver scripts are freely available and actively maintained. GitHub hosts Python libraries and browser extensions built specifically to automate form submissions by solving arithmetic challenges. These are practical utilities used by spammers, scrapers, and mass-submission bots.

The security of a math CAPTCHA is therefore conditional on the assumption that an attacker either does not know these tools exist or cannot spend a few hours finding them. That is not a realistic threat model for any website handling sensitive data, user registrations, or commercial forms.

What a Math CAPTCHA Protects Against — and What It Doesn’t

To be fair, a math CAPTCHA still deters:

  • Completely unsophisticated bots with no text-parsing ability
  • Automated submissions using the most primitive “fill and submit” scripts

A math CAPTCHA does not protect against:

  • Any bot with basic OCR, regex, or AI integration
  • Automated scrapers and contact form spammers
  • Account creation abuse, credential stuffing, or carding bots
  • Volumetric attacks — a math CAPTCHA adds no computational cost, does not slow down requests, and cannot scale its difficulty dynamically

Critically, a math CAPTCHA does not detect bots. It only checks whether a correct number was entered. A bot that can read and calculate passes every time — meaning that it can easily submit a form 1.000 times in few minutes. There is no behavioral analysis, no proof-of-work mechanism, and no bot scoring — just a static question with a predictable, knowable answer. The practical conclusion for any serious threat model is that a math CAPTCHA is equivalent to no CAPTCHA at all.

Math CAPTCHA and Accessibility: A Compliance Risk for EU Businesses

Security is one dimension of the problem. Accessibility is the other — and increasingly, the one with direct legal consequences.

Cognitive Load and User Experience

Solving an arithmetic problem, even a simple one, requires users to interrupt what they are doing. They must:

  1. Shift attention to the CAPTCHA
  2. Read and parse a mathematical expression
  3. Perform mental arithmetic
  4. Type the result correctly before returning their attention to the rest of the form

For most users, this takes only a few seconds. But those seconds create friction — form abandonment increases whenever additional steps are added to a submission flow. More significantly, this process is not equally easy for everyone.

Users with dyscalculia (a specific learning difficulty affecting mathematical processing) find arithmetic tasks disproportionately difficult. Users with cognitive disabilities, ADHD, or age-related cognitive changes may struggle with the context-switching and calculation the task requires. Math CAPTCHAs also rarely provide an audio alternative or any non-visual fallback, meaning a user relying on a screen reader may encounter an arithmetic question with no accessible way to complete it.

European Accessibility Act and WCAG 2.1

This is not just a UX concern — it is a legal exposure for businesses operating in the European Union.

The European Accessibility Act (EAA) entered into force on June 28, 2025, requiring digital products and services offered to consumers in the EU to comply with the accessibility standard EN 301 549, which incorporates WCAG 2.1 at level AA. The EAA covers most B2C web services — e-commerce, SaaS platforms, public-facing web applications, and more.

Relevant WCAG 2.1 criteria that math CAPTCHAs may fail:

  • Success Criterion 1.1.1 (Non-text Content) — requires that CAPTCHAs provide a text alternative describing their purpose and an alternative for users who cannot complete the primary format. A math CAPTCHA with no audio or visual-alternative path fails this requirement.
  • Success Criterion 3.3.2 (Labels or Instructions) — forms must provide clear instructions sufficient for users to complete them. An unlabelled arithmetic field often does not satisfy this.
  • WCAG’s own guidance on CAPTCHAs explicitly states that if a CAPTCHA is used, at minimum two different modalities must be offered (e.g., a visual and an audio version).

A math CAPTCHA that renders a text equation with no audio alternative and no accessible fallback path fails these requirements. For EU businesses with consumer-facing digital services, this creates compliance exposure.

Where Math CAPTCHAs Still Appear Today

Despite these limitations, math CAPTCHAs remain widespread. They persist primarily because they are included as defaults in widely-used tools and were set up years ago without being revisited:

  • WordPress contact form plugins — “Really Simple CAPTCHA” and similar legacy plugins remain installed on millions of sites
  • phpBB and other forum software — built-in math CAPTCHA as the default registration challenge
  • Custom PHP and Python forms — a common DIY implementation for developers avoiding third-party dependencies
  • Government and institutional websites — older sites built before modern captcha standards that have not been updated
  • E-commerce checkouts — older Magento, PrestaShop, and WooCommerce setups with custom captcha implementations

In many cases, the math CAPTCHA was never a deliberate security decision — it was simply the easiest option available at the time and has never been reviewed since.

What to Use Instead of a Math CAPTCHA

Now, since a math CAPTCHA is no longer adequate, what should replace it? The right answer depends on the level of protection the site actually needs.

Honeypot Fields

A honeypot is an invisible form field hidden from human users via CSS but visible to bots that parse raw HTML. If the field is filled in on submission, the server identifies the request as automated and silently rejects it.

Honeypots:

  • Require zero interaction from the user
  • Add no cognitive load or friction whatsoever
  • Are free to implement with a few lines of code
  • Work against unsophisticated bots

The limitation: modern bots can detect and deliberately skip honeypot fields. A honeypot works well as a first layer but is not sufficient protection against a targeted or technically capable attacker on its own.

Rate Limiting and Server-Side Signals

Capping form submissions per IP address, per session, or per time window adds friction for bots that rely on volume. Combined with server-side heuristics — unusual submission speed, repeated identical payloads, no referrer header — this catches some automated traffic without adding any user-facing complexity.

Rate limiting works best in combination with other measures. On its own it is bypassable via IP rotation, which is simple for most bots.

TrustCaptcha: Invisible Bot Protection Built for Europe

TrustCaptcha running invisibly in the background without user interaction

For websites that need reliable bot protection without sacrificing accessibility or regulatory compliance, TrustCaptcha represents a fundamentally different approach to the problem.

Instead of asking users to answer a question, TrustCaptcha operates entirely in the background using two complementary mechanisms:

Proof of work — the user’s browser automatically solves a cryptographic challenge. Legitimate users notice nothing; TrustCaptcha starts early and completes before the user finishes filling out the form. For bots attempting attacks at scale, the computational overhead of solving these challenges makes mass automation economically unviable.

Bot scoring — every request is evaluated against technical and behavioral signals. When the risk score rises — for example, during a spike in automated submissions — TrustCaptcha dynamically increases challenge difficulty, raising the cost of the attack without touching the experience for real users.

The result from a user perspective: nothing happens. No question, no arithmetic, no image grid, no interruption. From a bot perspective: there is a real, scalable barrier that gets harder to bypass under load.

TrustCaptcha is built specifically for the European compliance environment:

  • Cookie-free and no browser storage used
  • EU-hosted — all data processed in EU-certified data centers, no transfers to third countries
  • GDPR-compliant — a Data Processing Agreement (DPA/AVV) is provided to every customer
  • Accessible by design — because there is no visual or cognitive challenge, there is no WCAG accessibility failure mode; it works transparently with screen readers and assistive technology

For EU businesses replacing a math CAPTCHA and needing to satisfy both EAA accessibility requirements and GDPR simultaneously, TrustCaptcha addresses all of these concerns with a single integration.

Key Takeaways

Math CAPTCHAs were a reasonable tool in a different era. Today, they sit at the intersection of three problems: they are trivially bypassed by any AI or open-source solver, they impose cognitive burden on users, and they create accessibility compliance exposure under EU law.

The good news is that replacing them does not require asking users to do more — it requires asking them to do nothing at all. Honeypot fields, rate limiting, and modern invisible bot detection each improve on a math CAPTCHA in every measurable dimension. For businesses that need real protection and EU compliance, the path forward is invisible by design.

Try TrustCaptcha for Free

Ready to replace your math CAPTCHA with protection that actually works? Try TrustCaptcha for free and protect your forms invisibly against bots and spam.

FAQs

What is a math CAPTCHA?
A math CAPTCHA is a challenge–response test embedded in a web form that asks the user to solve a simple arithmetic problem — for example, '4 + 7 = ?' — before submitting. The server generates a random equation, the user types the answer, and the server validates it. If the answer is incorrect, the submission is rejected as a likely bot.
Are math CAPTCHAs still secure against bots?
No. Math CAPTCHAs offer minimal security today. Automated scripts can read arithmetic questions with basic OCR and solve them in milliseconds. AI tools like ChatGPT solve any math CAPTCHA question from a screenshot instantly. Free open-source math CAPTCHA solver libraries are widely available on GitHub, making a bypass achievable in a few hours for any attacker.
Can AI solve a math CAPTCHA?
Yes, trivially. Any modern AI model — or even a simple regex script — solves arithmetic questions like '3 + 7' or '12 − 4' without difficulty. If the question is rendered as text, a few lines of code handle it. If it is rendered as an image, a basic OCR pass followed by arithmetic evaluation solves it. There is no meaningful barrier for an AI-assisted bot.
What is a math CAPTCHA solver?
A math CAPTCHA solver is a script or tool that automatically reads the arithmetic question displayed on a form and submits the correct answer without human interaction. These range from simple Python scripts using regex to browser extensions that hook into page rendering. Many are freely available and actively maintained on public code repositories.
Are math CAPTCHAs compliant with EU accessibility law?
Math CAPTCHAs are legally problematic under the European Accessibility Act (EAA), which entered into force in June 2025 and applies to most B2C digital services in the EU. They impose cognitive load, typically have no audio alternative, and can discriminate against users with dyscalculia or cognitive disabilities — all of which conflict with WCAG 2.1 requirements that the EAA enforces.
Are number-only CAPTCHAs more secure than math CAPTCHAs?
No. A captcha that requires only a numeric answer — sometimes called a 'number captcha' or 'captcha numbers only' — is just as easy to solve automatically as any other math CAPTCHA. The format does not change the underlying problem: the challenge is simple, predictable, and solvable by any automated tool with basic arithmetic capability.
What should I use instead of a math CAPTCHA?
For a low-effort improvement, a honeypot field — an invisible field that only bots fill in — adds zero friction for users and catches unsophisticated bots. For reliable protection, invisible bot detection tools that combine proof-of-work with behavioral scoring, such as TrustCaptcha, protect forms in the background without any user interaction and for better accessibility or GDPR compliance.

Stop bots and spam

Stop spam and protect your website from bot attacks. Secure your website with our user-friendly and GDPR-compliant CAPTCHA.