✨ 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 🌍