---
title: "Lo Shu Grid Calculator (with Kua Number)"
slug: "lo-shu-grid-calculator"
canonical_url: "https://mahadasha.com/lo-shu-grid-calculator"
type: "calculator"
description: "Place the digits of a date of birth into the 3x3 Lo Shu magic square, report missing and repeated digits, classify all eight Arrows of Pythagoras as complete, empty or partial, and compute the Feng Shui Kua number with its Eight Mansions directions."
---

# Lo Shu Grid Calculator (with Kua Number)

Place the digits of a date of birth into the 3x3 Lo Shu magic square, report missing and repeated digits, classify all eight Arrows of Pythagoras as complete, empty or partial, and compute the Feng Shui Kua number with its Eight Mansions directions.

The Kua number uses the Chinese solar year, which begins around 4 February. Anyone born in January or the first days of February belongs to the previous year, and calculators that skip this give roughly one person in ten the wrong Kua. Kua 5 has no direction of its own and resolves to 2 for men and 8 for women.

## Inputs

- **birth_date** — date of birth (`YYYY-MM-DD`). **No time, place or timezone required.**
- **gender** *(optional)* — `male` or `female`. Required only for the Kua number,
  whose formula genuinely differs by gender. The grid itself does not need it.
- **include_conductors** *(optional, default `true`)* — add Mulank and Bhagyank to the grid.

## Programmatic access (for AI agents)

This calculator is backed by a JSON API — agents should call it directly instead of the HTML form:

- **Endpoint:** `POST https://mahadasha.com/api/v1/numerology/lo-shu`
- **Auth:** JWT Bearer token — register at `https://mahadasha.com/api/v1/auth/register`
- **OpenAPI schema:** https://mahadasha.com/api/v1/openapi.json
- **API catalog:** https://mahadasha.com/.well-known/api-catalog
- **MCP server card:** https://mahadasha.com/.well-known/mcp/server-card.json

Refer to the OpenAPI schema above for the exact request body and response shape of `https://mahadasha.com/api/v1/numerology/lo-shu`.

> Human UI: [Lo Shu Grid Calculator (with Kua Number)](https://mahadasha.com/lo-shu-grid-calculator)
