Numerology
Import
import { calculateKaabalisticLifePath, calculateStraightAcrossReductionLifePath, calculateCycles, ... } from 'kaabalah/numerology';Exports
calculateKaabalisticLifePathcalculateStraightAcrossReductionLifePathcalculateCyclescalculateChallengescalculateFibonacciCyclecalculatePersonalCyclesgetDateEnergiesisMasterNumbercalculatePersonalYear,calculatePersonalPeriods,calculatePersonalMonthsreduceToSingle,reduceToSingleWithSteps,MASTER_NUMBERSgetNumerologyData,NUMEROLOGY_TEXT_DATA,NumerologyData- Dated schedules (civil dates, no
Dateobjects):getNumerologySnapshot,generateNumerologyTimeline,getNumerologyMethodMetadata,TIMELINE_LAYERS,NumerologyScheduleError - Partial birth dates:
describePartialBirthDate,summarizeBirthDateCandidates - Pinnacles, challenges and life periods:
computeLifeStages,LIFE_STAGE_METHOD_ID fibonacciFromAge(Fibonacci cycles from an explicit age)FIBONACCI_YEAR_DESCRIPTION,getFibonacciYearDescriptionEntry,getFibonacciYearDescriptionPERSONAL_MONTH_DESCRIPTIONS,getPersonalMonthDescriptionEntry,getPersonalMonthDescriptionPINNACLE_DESCRIPTIONS,getPinnacleDescriptionEntry,getPinnacleDescription- Civil-date helpers (
CivilDate,parseCivilDate,civilDayOrdinal,addCivilDays,completedYears, …) are exported from the package rootkaabalah, not fromkaabalah/numerology
Fibonacci year introduction
import { getFibonacciYearDescription, getFibonacciYearDescriptionEntry } from 'kaabalah/numerology';
getFibonacciYearDescription('pt-BR');getFibonacciYearDescription(); // EnglishgetFibonacciYearDescriptionEntry().keywords.pt;This bilingual introduction explains how the seven age-derived Fibonacci values
identify the ruling Ark Annu of the seven birthday-year heptads, in order.
For example, a sixth value reduced to 5 means Ark Annu 5 rules heptad 6.
Use that Ark Annu’s existing meaning; no separate Fibonacci number or position
interpretation is needed. The lookup calculates no values or dates.
The seed is completed age, as in calculateFibonacciCycle, fibonacciFromAge
and the schedule’s fibonacci layer, rather than the digits of a calendar year.
Entries and keyword arrays are immutable; public src and reviewNotes
compatibility arrays are empty. Locale selection follows a case-sensitive pt
prefix, with English for omitted and other string locales.
Personal-month descriptions
import { getNumerologySnapshot, getPersonalMonthDescription, getPersonalMonthDescriptionEntry } from 'kaabalah/numerology';
const month = getNumerologySnapshot({ birth: '1990-01-15', asOf: '2026-11-20' }).personalMonth;const text = month ? getPersonalMonthDescription(month.value.value, 'pt-BR') : undefined;getPersonalMonthDescriptionEntry(11)?.keywords.en;Each entry contains two short sentences and keywords in English and Portuguese
for a personal-month value: 1–9, 11, 22, 33 or 44. Pass the calculated value.value,
rather than the month’s phase. The lookup does not calculate or reduce a number;
unsupported values return undefined.
Entries and keyword arrays are immutable. Locale selection uses the same pt
prefix as the Fibonacci introduction; English is the default. The interpretations
include difficulties such as health problems.
The lookup does not assess whether a described condition applies. Personal-year
text and the existing cycle keyword tables are unchanged.
Pinnacle descriptions
import { parseCivilDate } from 'kaabalah';import { computeLifeStages, getPinnacleDescription, getPinnacleDescriptionEntry } from 'kaabalah/numerology';
const stages = computeLifeStages(parseCivilDate('1990-01-15'), 'preserve');getPinnacleDescription(stages.pinnacles[0].value.value, 'pt-BR');getPinnacleDescriptionEntry(11)?.keywords.en;getPinnacleDescription(33); // master number 33The bank covers 1–9, 11, 22, 33 and 44 with two sentences and bilingual keywords per value.
Pass the pinnacle’s calculated numerical value, rather than its ordinal position.
The lookup does not substitute 6 or 8. It returns
undefined for missing or invalid values and does not calculate dates, reduce
numbers or change the master-number policy in computeLifeStages.
The period interpretations include financial, relationship and other outcomes. Qualifications about a first, middle or final
pinnacle remain conditional in the prose; a value-only lookup does not identify
which position applies or calculate an event. Entries are immutable; locale
selection uses a case-sensitive pt prefix, with English as the default.
Life Path Calculation Methods
Kaabalistic Method
The calculateKaabalisticLifePath function uses a synthesis-based approach that:
- Preserves master numbers (11, 22, 33, 44, etc.)
- Calculates personal mythology numbers
- Provides detailed reduction steps
Straight Across Reduction
The calculateStraightAcrossReductionLifePath function uses the traditional method of reducing each component (day, month, year) before summing.
Date handling
Numerology functions read Date arguments with local calendar getters (getFullYear(), getMonth(), getDate()). Construct birth dates at local noon so the calendar day is stable in every timezone:
const birthDate = new Date(1990, 5, 15, 12); // ✅ local noon, June 15// or: new Date('1990-06-15T12:00:00') // ✅ no trailing Z
const wrong = new Date('1990-06-15'); // ❌ parses as UTC midnight —// reads as June 14 in any timezone west of UTC, and shifts a day at UTC+12..+14const alsoWrong = new Date(Date.UTC(1990, 5, 15)); // ❌ same problemThe CLI already does this for you (kaabalah numerology 1990-06-15 parses to local noon). The rule only matters when you call the legacy Date-based functions directly (calculateKaabalisticLifePath, calculateCycles, calculatePersonalCycles, …).
The dated-schedule API below does not need any of this. It takes a "YYYY-MM-DD" string or a CivilDate ({ year, month, day }), never reads the host timezone, and needs no process.env.TZ change. Impossible dates such as 2026-02-30 are rejected with a typed NumerologyScheduleError (code: "INVALID_DATE").
Usage Example
import { calculateKaabalisticLifePath, calculateCycles } from 'kaabalah/numerology';
const birthDate = new Date(1990, 5, 15, 12); // local noon — see "Date handling" aboveconst lifePath = calculateKaabalisticLifePath(birthDate);
console.log(lifePath.lifePath.reducedValue); // Life path numberconsole.log(lifePath.syntheses.finalSynthesis); // Final synthesisconsole.log(lifePath.personalMythologyNumbers); // Personal mythologyDated schedules: snapshots and timelines
The schedule facade answers “what is active on this day?” and “what is active during this period?” for a birth date. Every date is a civil Gregorian day ("YYYY-MM-DD" or { year, month, day }), every interval is half-open [start, endExclusive), and nothing depends on the timezone, DST or time of day.
As-of snapshot (historical query)
import { getNumerologySnapshot } from 'kaabalah/numerology';
const snapshot = getNumerologySnapshot({ birth: '1985-03-14', // YYYY-MM-DD, no Date object, no timezone asOf: '2010-08-20', firstName: 'Ana',});
snapshot.completedAge; // 25 (the 26th birthday is 2011-03-14)snapshot.birthdayYear.start; // "2010-03-14"snapshot.birthdayYear.endExclusive; // "2011-03-14"snapshot.birthdayYear.personalYear.value; // 11 (master number preserved)snapshot.personalMonth.start; // "2010-08-14"snapshot.personalMonth.phase; // 6 (phase number: sixth month of the birthday year)snapshot.personalMonth.value.value; // 1 (reduced value; phase and value are separate fields)snapshot.personalPeriod.phase; // 2snapshot.personalPeriod.value; // { available: true, value: 7, addend: 4, addendSource: 'life-path', ... }snapshot.heptad.phase; // 4 (fixed 52-day segment)snapshot.heptad.dayInHeptad; // 4snapshot.calendar.personalDay.value; // 3 (calendar frame, see below)This exact script was executed against the repository source; the values above are its real output (run under TZ=Asia/Tokyo to show that the host timezone is irrelevant). The snapshot also carries ageCycle (repeating 1-7 label, absolute block index, year position), fibonacci, lifeStages (pinnacle, challenge, life period), fixedNumbers (life path and name soul number), meta (method identities) and unavailable (structured reasons for anything that could not be computed).
status is "ok", "partial" (partial birth data), "before-birth", "after-death" or "after-horizon"; values that do not apply on that day are null rather than invented.
Period range (timeline)
import { generateNumerologyTimeline } from 'kaabalah/numerology';
const timeline = generateNumerologyTimeline({ birth: '1990-03-31', firstName: 'Ana', from: '2024-03-01', toExclusive: '2025-03-31', layers: ['personal-period', 'personal-month'],});
for (const i of timeline.intervals) { console.log(i.layer, i.start, i.endExclusive, 'phase', i.phase);}Real output (first rows):
personal-period 2023-12-01 2024-03-31 phase 3personal-month 2024-03-01 2024-03-31 phase 12personal-month 2024-03-31 2024-05-01 phase 1personal-period 2024-03-31 2024-07-31 phase 1personal-month 2024-05-01 2024-05-31 phase 2Layers (TIMELINE_LAYERS): personal-year, personal-month, personal-period, heptad, age-cycle, fibonacci (birthday frame); calendar-year, calendar-month, calendar-day (calendar frame); pinnacle, challenge, life-period (life stages). The default is ["personal-year"].
- Intervals that overlap the window are returned with their real bounds, not cut at
from/toExclusive, sorted by start and then layer order. - The range is limited to 36,525 days (
RANGE_TOO_LARGE), andmaxIntervals(default 2,000, at most 10,000) throwsTOO_MANY_INTERVALSinstead of silently truncating. - Errors are
NumerologyScheduleErrorwith a stablecode:INVALID_DATE,INVALID_ARGUMENT,INVALID_RANGE,RANGE_TOO_LARGE,TOO_MANY_INTERVALS,MISSING_BIRTH_DATE.
Each interval has start, endExclusive, nominalStart, nominalEndExclusive, startClipped, endClipped, clipped, lengthDays and nominalLengthDays. Nominal bounds are the unclipped definition; the plain bounds are clipped by birth, death and horizon limits:
getNumerologySnapshot({ birth: '1950-01-01', asOf: '2020-01-01', limits: { death: '2010-05-05' }, // inclusive last day of coverage}).status; // "after-death"A missing death date is not evidence of survival: nothing is inferred and no end is imposed. limits.horizonEndExclusive bounds coverage explicitly.
Birthday frame and calendar frame
The two frames are different calculations and are never mixed:
| Frame | Layers | Year used | Formula |
|---|---|---|---|
| Birthday | personal-year, personal-month, personal-period, heptad, age-cycle, fibonacci | year of the most recent birthday | personal year = reduce(birth day + birth month + birthday year); personal month = reduce(double-digit personal year + month label), where the double-digit year is the value before the final reduction (14 for a 14/5 year; a master year is used as written) |
| Calendar | calendar-year, calendar-month, calendar-day | the calendar year/month/day being asked about | calendar year = reduce(birth day + birth month + calendar year); month = reduce(double-digit calendar year + calendar month); day = reduce(calendar month value + calendar day) |
The library had no personal-day calculator before; the calendar-day formula above is the chosen convention, named in meta.methods["calendar-day"]. Personal years, months, periods, the calendar frame, life path and pinnacles preserve master numbers (11, 22, 33, 44) under the default masters: "preserve" ("reduce" turns that off). Fibonacci cycles never preserve masters.
Method identities
getNumerologyMethodMetadata(options) and every snapshot/timeline meta expose the identity of each calculation, so a stored result can say exactly how it was produced (methodVersion: "kaabalah-numerology-schedule/1"):
| Layer | Method id |
|---|---|
personal-year | birthday-personal-year/v1 |
personal-month | birthday-personal-month/v2 |
personal-period | birthday-personal-period/v1: periods 1, 2, 3 = reduce(birthday year + completed age / life path / first-name vowel soul number) |
heptad | fixed-52-day-heptad/v1: six 52-day segments, the seventh runs to the next birthday (53 or 54 days) |
age-cycle | seven-year-age-cycle/v1: block = floor(age / 7), label = block mod 7 + 1, year position = age mod 7 + 1 |
fibonacci | fibonacci-completed-age/v1 |
calendar-year, calendar-month, calendar-day | calendar-personal-year-month-day/v2 |
pinnacle, challenge, life-period | kaabalah-life-stages/1 |
The method options are explicit and echoed back in meta:
lifePathMethod:"kaabalistic"(concatenation of reduced two-digit blocks; the default for personal period 2) or"straight-across"(digit sum of the whole date; the default for the pinnacle age rule). They give different numbers for many dates.masters:"preserve"(default) or"reduce".nameKind: howfirstNameis read for the soul number."first-token"(default) uses only its first whitespace-delimited token;"given-name"and"full-name"use every word of the string and differ only in the label recorded inmeta.nameInput. The soul number is the vowel sum from the existing gematria mapping (diacritic mappings unchanged).shortMonthPolicy: see below.
Short months
Personal months start on the birth day of each following calendar month. When a month has no such day (birth day 29, 30 or 31), shortMonthPolicy decides the boundary, and the nominal month label and value are always kept:
| Policy | Boundary when the day does not exist |
|---|---|
"next-month-first" (default, the legacy convention) | the 1st of the following month |
"clamp" | the last day of that month |
"overflow" | rolls forward like native Date (31 February becomes 2 or 3 March) |
For a 31 March birth, the phases from the real output of generateNumerologyTimeline in 2024 start on:
next-month-first 2024-03-01 2024-03-31 2024-05-01 2024-05-31 ... (phase 12 starts 1 March: 31 February does not exist)clamp 2024-02-29 2024-03-31 2024-04-30 2024-05-31 ...overflow 2024-01-31 2024-03-02 2024-03-31 2024-05-01 ...When a boundary was moved, the interval has startAdjusted: true and nominalStartText keeps the intended date. A 29 February birthday has its anniversary on 1 March in common years. Only next-month-first matches the behaviour the legacy functions had; clamp and overflow are explicit alternatives that have not been validated against external reference data.
Missing names
The name-dependent third personal period needs a first name with vowels. Without one, period 3 is an explicit unavailable value and periods 1 and 2 are still computed:
{ "available": false, "reason": "first-name-missing", "detail": "No first name supplied; the soul number (personal period 3) is not computed." }The other reason is first-name-has-no-vowels. The legacy calculatePersonalCycles behaves the same way: for a missing, blank or vowel-less name, soulNumber and personalPeriods[2].value are the same unavailable object ({ available: false, reason, detail }, with no reducedValue) instead of a manufactured 0, and periods 1 and 2 are still computed.
Partial birth dates
birth accepts a full date or an explicit partial description: { kind: "month-day", month, day }, { kind: "year-month", year, month }, { kind: "year", year, approximate? } or { kind: "unknown" }. Computable values are returned and the rest carry a structured reason (birth-year-unknown, birth-day-or-month-unknown, birth-year-approximate, …). describePartialBirthDate lists what each kind can and cannot produce.
summarizeBirthDateCandidates enumerates the valid days of a known year and month (or year) internally and reports only aggregates: which values are invariant, the possible value sets and interval boundary ranges. It never selects or returns a birth date (selectedDate is always null):
import { summarizeBirthDateCandidates } from 'kaabalah/numerology';
const summary = summarizeBirthDateCandidates({ birth: { kind: 'year-month', year: 2001, month: 1 }, asOf: '2020-06-01',});
summary.candidateCount; // 31summary.fields.completedAge; // { invariant: true, value: 19, possibleValues: [19] }summary.fields.personalYear.possibleValues; // [1, 3, 4, 5, 6, 7, 8, 9, 11]summary.selectedDate; // nullPinnacles, challenges and life periods
computeLifeStages(birth, masters, options) (also the pinnacle, challenge and life-period layers) is a named, documented convention (kaabalah-life-stages/1), not a universal rule, and it is distinct from the three four-month personal periods:
- Components are the month, the day and the digit sum of the year, each reduced to a single digit without preserving masters (the same components as
calculateChallenges). - Pinnacles: 1 = month + day; 2 = day + year; 3 = pinnacle 1 + pinnacle 2; 4 = month + year (reduced with the master policy).
- Challenges: 1 = |month - day|; 2 = |day - year|; 3 (main) = |challenge 1 - challenge 2|; 4 = |month - year|.
- The first pinnacle and challenge end at completed age
36 - L, whereLis the life path reduced to a single digit (11 becomes 2, 22 becomes 4, 33 becomes 6, 44 becomes 8); each following span lasts 9 years and the fourth is open-ended.lifeStages.firstPinnacleEndAgeoverrides the age. - Three life periods, valued by month, day and year:
lifePeriodRule: "pinnacle-aligned-27"(default;[0, 36 - L), 27 years, the rest) or"fixed-28-56".
These age transitions and master rules have not been independently validated; treat the options as part of the result’s method identity.
Legacy cycle functions: behaviour
The Date-based functions keep their signatures and now use civil-day arithmetic internally:
calculateCyclesandcalculateFibonacciCycleuse the completed (birthday) age; the age changes on the birthday, not on 1 January.ageCycleslists the seven blocks of the 49-year window that contains the active block, each with its absolute index (absoluteIndex), andcurrentAgeBlockIndexis the absolute block of the active cycle. After age 49 the repeating 1-7 label points at the real current block.- Day counters are DST-proof: the same civil day always has the same heptad day.
- The seventh heptad runs to the next birthday (53 or 54 days).
calculatePersonalCycles(...).personalMonthsis typed as exactly twelve entries (PersonalMonths).- Years 0001-0099 are read as written, not as 1900-1999.
- An invalid
DatethrowsDate must be a valid Date objectincalculateCyclesandcalculatePersonalCyclesas well.
See the migration guide for before/after details.
Meaning tables
getNumerologyData(language?) returns the read-only meaning tables: CYCLE_MEANINGS, NUMEROLOGY_KEYWORDS, DAY_OF_BIRTH_MEANING, LIFEPATH_MEANING, CHALLENGE_MEANING, CHALLENGE_HEALTH_MEANING, PERSONAL_CYCLE_KEYWORDS and PERSONAL_YEAR_DESCRIPTIONS. English is the default; 'pt' and 'pt-BR' select Portuguese. The existing NumerologyData exports are unchanged.
import { getNumerologyData } from 'kaabalah/numerology';
const texts = getNumerologyData('pt-BR');texts.LIFEPATH_MEANING[7].description;texts.DAY_OF_BIRTH_MEANING[15].description;texts.PERSONAL_YEAR_DESCRIPTIONS[9];CLI
kaabalah numerology 1990-06-15 --json --compactkaabalah numerology:lifepath 1990-06-15 --json --compactkaabalah numerology:cycles 1990-06-15 John --json --compactThe CLI accepts only real calendar days from 0001-01-01 to 9999-12-31: 2026-02-30 exits with INVALID_DATE, and 2000-02-29 is valid while 1900-02-29 is not. See the CLI reference.