<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Orion Soft Limited</title>
    <description>The latest articles on DEV Community by Orion Soft Limited (@orion_softlimited).</description>
    <link>https://dev.to/orion_softlimited</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4174807%2F76e22634-6ad0-4ccd-b85f-ee60bddbf15c.jpg</url>
      <title>DEV Community: Orion Soft Limited</title>
      <link>https://dev.to/orion_softlimited</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/orion_softlimited"/>
    <language>en</language>
    <item>
      <title>We open-sourced a Nigeria Tax Act 2025 PAYE calculator (npm package + free API)</title>
      <dc:creator>Orion Soft Limited</dc:creator>
      <pubDate>Sat, 10 Oct 2026 07:49:55 +0000</pubDate>
      <link>https://dev.to/orion_softlimited/we-open-sourced-a-nigeria-tax-act-2025-paye-calculator-npm-package-free-api-3kdk</link>
      <guid>https://dev.to/orion_softlimited/we-open-sourced-a-nigeria-tax-act-2025-paye-calculator-npm-package-free-api-3kdk</guid>
      <description>&lt;p&gt;On 1 January 2026, the &lt;strong&gt;Nigeria Tax Act 2025&lt;/strong&gt; replaced the old Personal Income Tax Act rules for salaries. Every payroll system in Nigeria had to change: the Consolidated Relief Allowance is gone, the first ₦800,000 of chargeable income a year is now tax-free, there's a new rent relief, and the bands are new.&lt;/p&gt;

&lt;p&gt;We build HR and payroll software at &lt;a href="https://www.orionsoftlimited.com" rel="noopener noreferrer"&gt;Orion Soft&lt;/a&gt; in Lagos, so we had to get this right anyway. We've now released the tax engine as open source, so nobody else has to rebuild it from the gazette.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install &lt;/span&gt;nigeria-paye
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Zero dependencies, TypeScript types included, works in Node.js and the browser.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;payeSummary&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;nigeria-paye&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c1"&gt;// ₦1,000,000 a month, paying ₦2.4m rent a year&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;pay&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;payeSummary&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="nx"&gt;_000_000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;annualRent&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="nx"&gt;_400_000&lt;/span&gt; &lt;span class="p"&gt;});&lt;/span&gt;

&lt;span class="nx"&gt;pay&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;paye&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;monthly&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;              &lt;span class="c1"&gt;// 140900   PAYE per month&lt;/span&gt;
&lt;span class="nx"&gt;pay&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;net&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;                       &lt;span class="c1"&gt;// 779100   take-home pay&lt;/span&gt;
&lt;span class="nx"&gt;pay&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;effectiveTaxRate&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;          &lt;span class="c1"&gt;// 14.09    % of gross&lt;/span&gt;
&lt;span class="nx"&gt;pay&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;comparison&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;monthlySaving&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;  &lt;span class="c1"&gt;// 10566.67 kept vs the old law&lt;/span&gt;
&lt;span class="nx"&gt;pay&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;employerTotalCost&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;         &lt;span class="c1"&gt;// 1120000  incl. employer pension, NSITF, ITF&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What it handles
&lt;/h2&gt;

&lt;p&gt;The new annual bands:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Chargeable income&lt;/th&gt;
&lt;th&gt;Rate&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;First ₦800,000&lt;/td&gt;
&lt;td&gt;0%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Next ₦2,200,000&lt;/td&gt;
&lt;td&gt;15%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Next ₦9,000,000&lt;/td&gt;
&lt;td&gt;18%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Next ₦13,000,000&lt;/td&gt;
&lt;td&gt;21%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Next ₦25,000,000&lt;/td&gt;
&lt;td&gt;23%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Above ₦50,000,000&lt;/td&gt;
&lt;td&gt;25%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Plus:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Reliefs before tax:&lt;/strong&gt; employee pension (8%), National Housing Fund (2.5% of basic), health insurance (NHIS), and rent relief (20% of annual rent, capped at ₦500,000)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Employer costs:&lt;/strong&gt; pension (10%), NSITF (1%), ITF (1%)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Old-law comparison:&lt;/strong&gt; the previous PITA calculation (consolidated relief, 7–24% bands, minimum tax, minimum-wage exemption), so you can show users whether they keep more or pay more in 2026&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A band-by-band breakdown&lt;/strong&gt; for payslips and explanations&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Not using JavaScript? There's a free API
&lt;/h2&gt;

&lt;p&gt;No key, CORS enabled:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="s2"&gt;"https://www.orionsoftlimited.com/api/public/paye?salary=500000&amp;amp;rent=1200000"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You get PAYE, every deduction, take-home pay, the bands, employer cost and the old-law comparison as JSON. There's an &lt;a href="https://www.orionsoftlimited.com/openapi.json" rel="noopener noreferrer"&gt;OpenAPI spec&lt;/a&gt;, a &lt;a href="https://www.postman.com/orionsoftlimited-7998261/orion-soft-public-apis" rel="noopener noreferrer"&gt;public Postman workspace&lt;/a&gt;, and docs at &lt;a href="https://www.orionsoftlimited.com/developers" rel="noopener noreferrer"&gt;orionsoftlimited.com/developers&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;And if you just want to check your own salary: &lt;a href="https://www.orionsoftlimited.com/paye-calculator" rel="noopener noreferrer"&gt;the calculator&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Accuracy, and how you can help
&lt;/h2&gt;

&lt;p&gt;The figures are estimates for salaried employees based on the published rates and reliefs; they're tested against hand-worked examples. If you find a case where your state IRS computes something different, please &lt;a href="https://github.com/orionsoftlimited/nigeria-paye/issues" rel="noopener noreferrer"&gt;open an issue&lt;/a&gt;. Pull requests welcome.&lt;/p&gt;

&lt;p&gt;⭐ &lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/orionsoftlimited/nigeria-paye" rel="noopener noreferrer"&gt;orionsoftlimited/nigeria-paye&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Orion Soft builds hospital, school, HR and payroll software for organisations across Africa, and custom software for clients worldwide. If you're building something in or for Africa, &lt;a href="https://www.orionsoftlimited.com/international" rel="noopener noreferrer"&gt;say hello&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>opensource</category>
      <category>api</category>
      <category>nigeria</category>
    </item>
  </channel>
</rss>
