<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Gerard West]]></title><description><![CDATA[Gerard West]]></description><link>https://gerardwest.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sat, 05 Dec 2026 19:40:31 GMT</lastBuildDate><atom:link href="https://gerardwest.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Tarot birth card math, tested on 46,021 birthdays]]></title><description><![CDATA[Why the split-year and full-year methods always give the same soul card, and what running the calculation on every date from 1900 to 2025 showed.]]></description><link>https://gerardwest.hashnode.dev/tarot-birth-card-math</link><guid isPermaLink="true">https://gerardwest.hashnode.dev/tarot-birth-card-math</guid><category><![CDATA[TypeScript]]></category><category><![CDATA[JavaScript]]></category><category><![CDATA[Testing]]></category><category><![CDATA[Math]]></category><dc:creator><![CDATA[Gerard West]]></dc:creator><pubDate>Wed, 02 Dec 2026 04:09:17 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6b0f993bbfdaf8e96905c255/a5fdd87a-d795-484c-ac30-174b408cb443.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>You get your tarot birth cards by adding up your birth date and reducing the total to a number from 1 to 21. That number, and usually its digit sum, picks cards from the Major Arcana. Most dates give two cards: a two-digit personality card and a one-digit soul card, which are the names tarot author Mary K. Greer uses for them.</p>
<p>We built a calculator for this at <a href="https://tarotbirthcardcalculator.com/">tarotbirthcardcalculator.com</a>. The code is short, but we had to pick one of two ways to add up a date and decide how to handle a few edge cases that tarot sites explain in different ways. Then we ran it on every birthday from January 1, 1900 to December 31, 2025. That run showed, among other things, that with our method nobody born from 2000 to 2025 gets The Sun, Judgement or The World.</p>
<h2>Two ways to add up a date</h2>
<p>The split-year method adds four numbers: the month, the day, the first two digits of the year, and the last two. For January 2, 1990:</p>
<pre><code class="language-plaintext">1 + 2 + 19 + 90 = 112
</code></pre>
<p>The Tarot School teaches this method. In late November we read 15 calculator and how-to pages that come up when you search for a birth card calculator. Twelve of them said which single method they use, and nine of those split the year.</p>
<p>The full-year method adds the whole year instead:</p>
<pre><code class="language-plaintext">1 + 2 + 1990 = 1993
1 + 9 + 9 + 3 = 22
</code></pre>
<p>Mary K. Greer published this approach in 1984, in her book <em>Tarot for Your Self</em>. She has written that she learned the birth card technique from tarot teacher Angeles Arrien in 1977. Greer counts 22 as The Fool and pairs it with The Emperor (2 + 2 = 4). For the same date, the split-year total of 112 gives Death (13) with The Emperor (4).</p>
<img src="https://cdn.hashnode.com/uploads/covers/6b0f993bbfdaf8e96905c255/63f4aaf7-2501-4988-9b71-0ab9ee043e6d.jpg" alt="January 2, 1990 added up two ways. Split-year: 1 + 2 + 19 + 90 = 112, 11 + 2 = 13, 1 + 3 = 4, giving Death and The Emperor. Full-year: 1 + 2 + 1990 = 1993, 1 + 9 + 9 + 3 = 22, which Greer counts as The Fool, with The Emperor." style="display:block;margin:0 auto" />

<p>We went with the split-year method. Neither one is official, so the site says which one it uses and prints every step of the sum.</p>
<h2>Reducing the total</h2>
<p>Card numbers stop at 21, so a bigger total has to shrink. Our rule is to split off the last digit and add it to the rest, until the number is 21 or less. Leaving out the code that records each step for display, it looks like this:</p>
<pre><code class="language-ts">function reduceTotal(total: number) {
  let x = total;
  while (x &gt; 21) {
    x = Math.floor(x / 10) + (x % 10);
  }
  return x;
}
</code></pre>
<p>112 becomes 11 + 2 = 13. For a two-digit number this is the ordinary digit sum, so 22 becomes 4 and our calculator never returns The Fool. Three-digit totals are where the split makes a difference: adding every digit of 112 would give 4 straight away, while splitting it keeps 13, so Death stays as the personality card.</p>
<p>Then, in simplified form, the result depends on where the number lands:</p>
<pre><code class="language-ts">if (x === 19) cards = [19, 10, 1];           // The Sun, Wheel of Fortune, The Magician
else if (x &gt;= 10) cards = [x, digitSum(x)];  // 13 gives Death and The Emperor
else cards = [x + 9, x];                     // 7 gives The Tower (16) and The Chariot (7)
</code></pre>
<p>19 reduces twice (1 + 9 = 10, then 1 + 0 = 1), so it is the only result with three cards. A single digit gives a soul card but no personality card. We follow the Tarot School and pair it with the card 9 higher, whose digits add back up to it. Greer handles this case differently: in her method a single digit gives one card, and she calls the card 9 above it a hidden or teacher card.</p>
<h2>Both methods agree on the soul card</h2>
<p>Every step above keeps the number's remainder when you divide by 9. Turning 10a + b into a + b takes away 9a, and the partner card is exactly 9 higher. The year works the same way. 100 leaves a remainder of 1 when divided by 9, so 19 + 90 and 1990 have the same remainder.</p>
<p>That makes the soul card the digital root of month + day + year, whichever method you use, and only the personality card can differ. We checked all 46,021 dates from 1900 to 2025, and both methods gave the same soul card every time.</p>
<p>The number 22 is one place where the personality cards visibly part ways. Under the full-year method, 2,549 of those dates reach 22, which Greer reads as The Fool with The Emperor. Our calculator gives every one of them Death with The Emperor.</p>
<h2>Testing every date</h2>
<p>The unit tests start with six worked dates that between them cover each branch, such as January 1, 1900 (the total is 21, already small enough) and September 30, 1999 (157 reduces to 22, then to 4). After those, one test loops over every date the input form accepts and checks that the results are exactly the 12 pairs the site has pages for:</p>
<pre><code class="language-ts">it("maps every date the form accepts to one of the 12 pairs", () =&gt; {
  const seen = new Set&lt;string&gt;();
  for (let year = 0; year &lt;= TODAY.getFullYear(); year++) {
    for (let month = 1; month &lt;= 12; month++) {
      for (let day = 1; day &lt;= 31; day++) {
        const fields = {
          month: String(month),
          day: String(day),
          year: String(year).padStart(4, "0"),
        };
        if (validate(fields, TODAY)) continue;
        seen.add(calculate(month, day, year).key);
      }
    }
  }
  expect([...seen].sort()).toEqual(Object.keys(PAIRS).sort());
});
</code></pre>
<p><code>TODAY</code> is frozen at October 11, 2026, so the test gives the same answer whatever day it runs. If a change ever let 22 through unreduced, a "22-4" key would show up in the set and the test would fail.</p>
<h2>How often each pair comes up</h2>
<p>A similar loop over January 1, 1900 to December 31, 2025 gives each pair's share of birth dates. Each date counts once, however many people were born on it.</p>
<table>
<thead>
<tr>
<th>Numbers</th>
<th>Cards</th>
<th align="right">Share of dates</th>
</tr>
</thead>
<tbody><tr>
<td>13, 4</td>
<td>Death, The Emperor</td>
<td align="right">11.11%</td>
</tr>
<tr>
<td>18, 9</td>
<td>The Moon, The Hermit</td>
<td align="right">11.11%</td>
</tr>
<tr>
<td>17, 8</td>
<td>The Star, Strength</td>
<td align="right">11.11%</td>
</tr>
<tr>
<td>15, 6</td>
<td>The Devil, The Lovers</td>
<td align="right">11.11%</td>
</tr>
<tr>
<td>16, 7</td>
<td>The Tower, The Chariot</td>
<td align="right">11.11%</td>
</tr>
<tr>
<td>14, 5</td>
<td>Temperance, The Hierophant</td>
<td align="right">11.11%</td>
</tr>
<tr>
<td>12, 3</td>
<td>The Hanged Man, The Empress</td>
<td align="right">9.67%</td>
</tr>
<tr>
<td>11, 2</td>
<td>Justice, The High Priestess</td>
<td align="right">8.80%</td>
</tr>
<tr>
<td>10, 1</td>
<td>Wheel of Fortune, The Magician</td>
<td align="right">7.91%</td>
</tr>
<tr>
<td>19, 10, 1</td>
<td>The Sun, Wheel of Fortune, The Magician</td>
<td align="right">3.20%</td>
</tr>
<tr>
<td>20, 2</td>
<td>Judgement, The High Priestess</td>
<td align="right">2.32%</td>
</tr>
<tr>
<td>21, 3</td>
<td>The World, The Empress</td>
<td align="right">1.44%</td>
</tr>
</tbody></table>
<p>Six pairs tie because of the remainder rule. Each soul card gets about one date in nine, and each soul card from 4 to 9 belongs to only one pair. Soul cards 1, 2 and 3 each have two possible personality cards, and the higher one is rare.</p>
<p>To end on 19, 20 or 21, a total has to be at least 100. The smallest totals that work are 109, 119 and 129, plus January 1, 1900, whose total is exactly 21. With a 19 in front, the month and day add at most 43, so the year has to end in 47 or higher before 109 is possible. In our range, The Sun first shows up on December 31, 1947, Judgement on December 31, 1957, and The World on December 31, 1967. For anyone born from 2000 to 2025 the total is at most 12 + 31 + 20 + 25 = 88, so with the split-year method none of them gets The Sun, Judgement or The World.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6b0f993bbfdaf8e96905c255/56d229f3-ea1c-4cb5-84cb-0571aa36d2a6.png" alt="Bar chart of the share of each year's birth dates, 1900 to 2025, that give The Sun, Judgement or The World with the split-year method. It is zero until 1947 apart from January 1, 1900, rises to about a third in the late 1990s, and is zero from 2000 on." style="display:block;margin:0 auto" />

<p>The shares in the table only hold for this range of dates. If you counted only dates since 2000, those three pairs would drop to zero.</p>
<p>The shares are rounded to two decimals and add up to exactly 100.00%. Each one is rounded down first, and the hundredths left over go to the pairs with the largest remainders.</p>
<h2>The page itself</h2>
<p>The calculation runs in the browser, so the date you type into the form never reaches our server. The result shows the whole sum and each reduction step, so you can check it by hand or compare it with a calculator that uses the full-year method.</p>
]]></content:encoded></item></channel></rss>