<?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: Khurram Nisar</title>
    <description>The latest articles on DEV Community by Khurram Nisar (@khurram_nisar).</description>
    <link>https://dev.to/khurram_nisar</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%2F3924894%2F846c22d9-4ca4-4791-a124-7cb772143bf1.jpg</url>
      <title>DEV Community: Khurram Nisar</title>
      <link>https://dev.to/khurram_nisar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/khurram_nisar"/>
    <language>en</language>
    <item>
      <title>I built a free UK VAT calculator — here is the VAT math every UK freelancer gets wrong</title>
      <dc:creator>Khurram Nisar</dc:creator>
      <pubDate>Wed, 18 Nov 2026 07:29:43 +0000</pubDate>
      <link>https://dev.to/khurram_nisar/i-built-a-free-uk-vat-calculator-here-is-the-vat-math-every-uk-freelancer-gets-wrong-3546</link>
      <guid>https://dev.to/khurram_nisar/i-built-a-free-uk-vat-calculator-here-is-the-vat-math-every-uk-freelancer-gets-wrong-3546</guid>
      <description>&lt;h1&gt;
  
  
  I built a free UK VAT calculator — here is the VAT math every UK freelancer gets wrong
&lt;/h1&gt;

&lt;p&gt;Most VAT mistakes have nothing to do with tax law. They come from one small piece of arithmetic that looks right and isn't.&lt;br&gt;
I build websites for a living, and when I started putting free calculators online, VAT was one of the first I built — because the sums behind it trip up almost everyone who invoices, including people who have been freelancing for years. Here are the three mistakes I see most, with the actual numbers.&lt;/p&gt;

&lt;h2&gt;
  
  
  Mistake 1: Taking 20% off the gross price
&lt;/h2&gt;

&lt;p&gt;This is the big one. Something costs £120 including VAT, and you want the price before VAT. The instinct is to knock 20% off: £120 minus £24 is £96.&lt;br&gt;
That is wrong.&lt;br&gt;
VAT at 20% is charged on the net price, not the gross one. So the VAT inside a £120 price is £20, and the net price is £100. The VAT is 16.7% of the gross — not 20%.&lt;br&gt;
There is a shortcut worth remembering: divide the gross price by 6. £120 ÷ 6 = £20. That works for any price at 20% — the VAT is always a sixth of the gross. Getting this wrong costs £4 on every £120, and it scales. On a £1,200 invoice, that is £40 in the wrong column.&lt;/p&gt;

&lt;h2&gt;
  
  
  Mistake 2: Adding VAT to a price that already has it
&lt;/h2&gt;

&lt;p&gt;The other direction. You agree £100 for a job, then add VAT: £100 × 1.20 = £120 gross. Clean and correct.&lt;br&gt;
But if a price is already quoted gross and you add another 20% on top, you have charged VAT twice. £120 becomes £144, and your client is paying tax on tax.&lt;br&gt;
The fix is knowing which price you are starting from. If the number already includes VAT, you remove it. If it doesn't, you add it by multiplying by 1.20. Mixing the two up is how an invoice comes out £24 too high on a £120 job — and how a client starts asking questions you don't want to answer.&lt;/p&gt;

&lt;h2&gt;
  
  
  Mistake 3: Reading the £90,000 threshold wrong
&lt;/h2&gt;

&lt;p&gt;You must register for VAT once your taxable turnover passes £90,000 in a rolling 12 months. Not a tax year — any 12-month stretch. And £90,000 is the gross figure.&lt;br&gt;
At 20%, that is £75,000 of your own turnover plus £15,000 VAT. So the point where registration kicks in arrives earlier than most people expect if they are counting net income.&lt;br&gt;
The same trap shows up with the 5% reduced rate. A £120 gross price at 5% is £114.29 net and £5.71 VAT — not £114.00 and £6.00. Five percent of the gross is not the VAT. The VAT is 5% of the net, and the net is what you have to work out first.&lt;/p&gt;

&lt;h2&gt;
  
  
  How the calculator helps
&lt;/h2&gt;

&lt;p&gt;I built the VAT calculator to do this in one step: type the amount, pick add or remove, pick 20%, 5% or 0%, and it shows the net, the VAT and the gross instantly, with the VAT's share of the gross.&lt;br&gt;
The default is the example above — £120, remove VAT, 20% — net £100.00, VAT £20.00, gross £120.00. Try it here: &lt;a href="https://calcfree.online/vat-calculator/" rel="noopener noreferrer"&gt;https://calcfree.online/vat-calculator/&lt;/a&gt;&lt;br&gt;
It is free, with no sign-up and no account. The result updates as you type, so you can check a figure before it goes on an invoice instead of after.&lt;/p&gt;

&lt;h2&gt;
  
  
  The point
&lt;/h2&gt;

&lt;p&gt;The math isn't hard once you see it. It is just easy to get backwards — and backwards is expensive in both directions. Undercharge the VAT and you pay it out of your own pocket. Overcharge it and your client pays tax on tax.&lt;br&gt;
If you invoice in the UK, run your next few invoices through the calculator and check the split before you send them. And if the numbers look wrong, they probably are.&lt;br&gt;
CalcFree is run by Khurram Nisar, a WordPress and Shopify developer. The site has two live calculators so far — a mortgage refinance calculator and the UK VAT calculator — with 28 more coming: &lt;a href="https://calcfree.online/" rel="noopener noreferrer"&gt;https://calcfree.online/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>vat</category>
      <category>uk</category>
      <category>freelancing</category>
      <category>calculators</category>
    </item>
    <item>
      <title>I Built a Privacy-First Calculator Website — Here is What I Learned About PageSpeed and SEO</title>
      <dc:creator>Khurram Nisar</dc:creator>
      <pubDate>Mon, 11 May 2026 11:43:37 +0000</pubDate>
      <link>https://dev.to/khurram_nisar/i-built-a-privacy-first-calculator-website-here-is-what-i-learned-about-pagespeed-and-seo-4d33</link>
      <guid>https://dev.to/khurram_nisar/i-built-a-privacy-first-calculator-website-here-is-what-i-learned-about-pagespeed-and-seo-4d33</guid>
      <description>&lt;p&gt;I recently launched CalcFree (calcfree.online) — a &lt;br&gt;
free calculator website with 25+ tools for health, &lt;br&gt;
finance, and math.&lt;/p&gt;

&lt;p&gt;Here are the results after launch:&lt;/p&gt;

&lt;p&gt;Performance: 93/100&lt;br&gt;
Accessibility: 94/100&lt;br&gt;&lt;br&gt;
Best Practices: 100/100&lt;br&gt;
SEO: 100/100&lt;/p&gt;

&lt;p&gt;Here is what helped achieve these scores:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Pure HTML/CSS/JS — No frameworks, no WordPress.&lt;br&gt;
Just clean semantic code. Loads in under 1 second.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;All calculations run locally — No API calls, no &lt;br&gt;
server requests for calculations. JavaScript handles &lt;br&gt;
everything in the browser.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Proper semantic HTML — h1, h2, nav, main, footer &lt;br&gt;
elements used correctly. Helped both accessibility &lt;br&gt;
and SEO.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Meta tags from day one — title, description, &lt;br&gt;
og:tags, schema markup all set up before launch.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;robots.txt and sitemap.xml — Submitted to Google &lt;br&gt;
Search Console and Bing Webmaster Tools on day one.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The site: &lt;a href="https://calcfree.online" rel="noopener noreferrer"&gt;https://calcfree.online&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Has anyone else built pure HTML tools sites? &lt;br&gt;
What was your experience with SEO?&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>html</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
