Check Carbon Stored in Trees through this Carbon Sequestration Calculator Tree Carbon Calculator body { font-family: Arial, sans-serif; margin: 20px; } label { display: block; margin-bottom: 5px; } select, input { margin-bottom: 10px; padding: 8px; height: 38px; /* Adjusted height for better visibility */ } button { padding: 10px; background-color: #4CAF50; color: white; border: none; cursor: pointer; } #result { margin-top: 20px; font-weight: bold; /* Result text in bold */ } Tree Carbon Calculator Select Tree Type: Almond Apple Apricot Avocado Baobab Bargad Ber Cedar Cheed Chilgoza Date Palm Deodar Eucalyptus Fir Goolar Hickory Jaman Jamun Jungle Jalebi Kachnar Kail Kanju Karak Kargha Kikar Koji Laranja Mahogany Mango Mimusops Neem Noble Fir Oak Olive Palm Peepal Pine Poplar Redwood Sandalwood Sheesham Spruce Sycamore Teak Walnut Willow Yew Number of Trees: Calculate Carbon Capture function calculateCarbon() { const treeType = document.getElementById('treeType').value; const numberOfTrees = parseInt(document.getElementById('numberOfTrees').value, 10) || 1; // Assumed average carbon capture per year for different tree types (in kilograms) const carbonCaptureRates = { almond: 18, apple: 20, apricot: 16, avocado: 28, baobab: 40, bargad: 19, ber: 17, cedar: 25, cheed: 22, chilgoza: 30, "date-palm": 15, deodar: 26, eucalyptus: 30, fir: 23, goolar: 20, hickory: 34, jaman: 18, jamun: 21, "jungle-jalebi": 19, kachnar: 22, kail: 27, kanju: 24, karak: 28, kargha: 23, kikar: 18, koji: 25, laranja: 24, mahogany: 33, mango: 16, mimusops: 21, neem: 27, "noble-fir": 30, oak: 22, olive: 16, palm: 15, peepal: 21, pine: 15, poplar: 16, redwood: 28, sandalwood: 23, sheesham: 25, spruce: 25, sycamore: 21, teak: 31, walnut: 32, willow: 19, yew: 26, // Add more rates as needed }; // Get the carbon capture rate for the selected tree const carbonPerYear = carbonCaptureRates[treeType]; // Calculate total carbon capture for the specified number of trees const totalCarbon = carbonPerYear * numberOfTrees; // Display result const resultElement = document.getElementById('result'); resultElement.innerHTML = `${numberOfTrees} ${treeType} trees are estimated to capture a total of ${totalCarbon} kilograms of carbon per year. Note: Carbon capture rate varies with age, climate, and other factors. The value shown is an average for the tree.`; } Check out more tools on Agriculture and Gardening at Agri Tools in out website.