<?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: Natural Diamond</title>
    <description>The latest articles on DEV Community by Natural Diamond (@naturaldiamond).</description>
    <link>https://dev.to/naturaldiamond</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%2F3996727%2F002b5c58-c60e-4e19-ba62-57264e80e943.png</url>
      <title>DEV Community: Natural Diamond</title>
      <link>https://dev.to/naturaldiamond</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/naturaldiamond"/>
    <language>en</language>
    <item>
      <title>I built a free diamond price calculator for South Africa (and made it embeddable)</title>
      <dc:creator>Natural Diamond</dc:creator>
      <pubDate>Mon, 22 Jun 2026 10:33:21 +0000</pubDate>
      <link>https://dev.to/naturaldiamond/i-built-a-free-diamond-price-calculator-for-south-africa-and-made-it-embeddable-20mo</link>
      <guid>https://dev.to/naturaldiamond/i-built-a-free-diamond-price-calculator-for-south-africa-and-made-it-embeddable-20mo</guid>
      <description>&lt;p&gt;South Africa has a transparency problem with diamonds. Rapaport publishes a wholesale price list every Friday, but it is paywalled and trade-only, so most buyers walk into a mall jeweller with no way to tell whether the markup in front of them is 30% or 150%.&lt;/p&gt;

&lt;p&gt;So I built &lt;a href="https://naturaldiamond.co.za/diamondscope/" rel="noopener noreferrer"&gt;DiamondScope&lt;/a&gt;: a free, no-signup web tool that takes a diamond spec (shape, carat, the four Cs) and reverse-engineers the Rapaport-equivalent baseline in rand, then shows what the same stone costs manufacturer-direct vs at a boutique vs at chain retail.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;Pick shape, carat, colour, clarity and cut.&lt;/li&gt;
&lt;li&gt;It computes a Rapaport-equivalent ZAR baseline and the three-channel price spread.&lt;/li&gt;
&lt;li&gt;Paste a retail quote you have been given and it tells you how far above the wholesale baseline you are being asked to pay.&lt;/li&gt;
&lt;li&gt;What-if cards show how each grade change moves the price.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How the pricing model works
&lt;/h2&gt;

&lt;p&gt;The engine anchors on a 1ct G/SI1/GIA-Excellent round brilliant as a 1.0 baseline, then applies coefficients for carat, colour, clarity, cut and shape. Channel prices are that baseline multiplied by observed RAP-minus / RAP-plus factors per retailer tier (manufacturer-direct sits around RAP-minus 35%, chain retail well above). It is calibrated against published manufacturer-direct quotes and refreshed periodically.&lt;/p&gt;

&lt;p&gt;It is deliberately an indicative reference, not a contract. For a specific stone the cutter is always the source of truth.&lt;/p&gt;

&lt;h2&gt;
  
  
  The build
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Static site on Astro, so the calculator is plain client-side JavaScript: no backend, no accounts, no tracking.&lt;/li&gt;
&lt;li&gt;The whole model is a set of coefficient tables, which keeps it auditable: anyone can read how a number is produced.&lt;/li&gt;
&lt;li&gt;It ships SoftwareApplication JSON-LD so it is machine-readable as a tool.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  You can embed it
&lt;/h2&gt;

&lt;p&gt;Because it is a static page, it is embeddable. There is an embed mode that strips the site chrome, plus a copy-paste snippet on the page. Try it here: &lt;a href="https://naturaldiamond.co.za/diamondscope/" rel="noopener noreferrer"&gt;https://naturaldiamond.co.za/diamondscope/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Feedback welcome, especially on the pricing model from anyone who works in the trade.&lt;/p&gt;

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