โจ Realistic Gemstone Valuation Tool for Sri Lankan & Global Gems โจ
๐ Live Demo โข
๐ Report Bug โข
๐ก Contribute
- โจ Overview
- ๐ Features
- ๐ฏ Perfect For
- ๐ Live Preview
- ๐ง How to Use
- โ๏ธ Tech Stack
- ๐ Project Structure
- ๐ฐ Customize Prices
- ๐ Add More Gems
- ๐ Star History
- ๐ค Contributing
- ๐ License
- โค๏ธ Credits
Gem Price Estimator helps estimate gemstone prices using realistic market logic and 4C evaluation (Color, Clarity, Cut, Carat).
It supports live exchange rates, size-based value scaling, and instant USD/LKR toggling.
๐ Live App: https://gemprice.vercel.app/
- ๐ 100+ Real Gem Types (Blue Sapphire, Padparadscha, Ruby, Emerald, etc.)
- ๐งฎ 4C Evaluation โ Color, Clarity, Cut, Carat
- ๐ฑ Live USDโLKR Conversion
- ๐ Instant Currency Toggle (no re-calculation)
- ๐ Size Premium Logic โ larger stones = higher price
- ๐ PDF Export for professional valuation
- ๐ฑ Fully Responsive UI (mobile-first)
- โก No Backend Needed โ 100% static, deploy anywhere
- ๐ Fine Weight Input (0.01ct precision)
- Gem dealers in Ratnapura & Colombo
- Tourists buying gems in Sri Lanka
- Online gem sellers & jewelers
- Jewelry designers, collectors, investors
- Select gem (e.g. Blue Sapphire)
- Enter weight (e.g.
0.68 ct) - Choose Color, Clarity, Cut
- Toggle USD/LKR instantly
- Click Export Report โ PDF download
- ๐งฉ HTML5 + CSS3 (Glassmorphism UI)
- โก JavaScript (ES6+)
- ๐งพ jsPDF โ PDF export
- ๐ Exchangerate-API โ live rates
gem-price-estimator/
โโโ index.html
โโโ style.css
โโโ data.js โ Gem prices & multipliers
โโโ script.js โ Core logic + currency toggle
โโโ screenshot.jpg
โโโ README.md
Edit the data.js file:
'Blue Sapphire (Sri Lankan)': { basePrice: 2500 }, // $/ct (avg 2025)
'Padparadscha Sapphire': { basePrice: 20000 },๐ Sources: Gemdaia, Praveen Gems, IGS, Gemval (2025 data)
Add to the gemsData object:
'Cat\'s Eye Chrysoberyl (Sri Lankan)': { basePrice: 800 },
'Red Spinel': { basePrice: 3000 },๐ก Contributions are what make open source amazing!
If youโd like to add new gems, improve logic, or enhance UI feel free to fork and submit a PR!
-
Fork the project
-
Create your feature branch
git checkout -b feature/NewGem
-
Commit changes
git commit -m "Add NewGem type and pricing" -
Push branch & open Pull Request
๐ฌ You can also open Issues for suggestions or bug reports.
- Add Gem Image Database
- AI-powered Value Predictor
- Community Gem Data Upload
- Multi-language Support
- Chrome Extension
Licensed under the MIT License ยฉ 2025 DMS-Menula. Free to use, modify, and even sell gems with it ๐
Made with love for Sri Lankaโs gem legacy From Ratnapura to the World ๐