Converter tools to calculate instantly—no sign-up is required.

Centimeters to Inches

cm to inches Converter

Enter values below to convert centimeter [cm] to inch [in], or vice versa.

/* Namespaced rules so nothing else on your site is touched */ #cm-inches-converter { max-width: 420px; margin: 20px auto; padding: 24px; border: 1px solid #ccc; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); font-family: Arial, sans-serif; } #cm-inches-converter h2 { font-size: 1.4rem; text-align: center; margin: 0 0 1rem; } #cm-inches-converter p { text-align: center; font-size: 0.95rem; color: #555; margin: 0 0 1.5rem; } #cm-inches-converter label { display: block; font-weight: 600; margin-top: 1rem; } #cm-inches-converter input { width: 100%; padding: 10px; margin-top: 6px; border: 1px solid #bbb; border-radius: 6px; font-size: 1rem; box-sizing: border-box; } // Tiny, isolated script: converts both ways without polluting globals (function () { const cmInput = document.getElementById('cmValue'); const inchInput = document.getElementById('inchValue'); let lock = false; // prevents circular updates function round4(x) { return (Math.round(x * 10000) / 10000).toFixed(4); } cmInput.addEventListener('input', () => { if (lock) return; lock = true; const cm = parseFloat(cmInput.value); inchInput.value = isNaN(cm) ? '' : round4(cm / 2.54); lock = false; }); inchInput.addEventListener('input', () => { if (lock) return; lock = true; const inch = parseFloat(inchInput.value); cmInput.value = isNaN(inch) ? '' : round4(inch * 2.54); lock = false; }); })();

Millimeters to Inches

mm to inches Converter

Enter values below to convert millimeter [mm] to inch [in], or vice versa.

/* Namespaced rules so nothing else on your site is touched */ #mm-inches-converter { max-width: 420px; margin: 20px auto; padding: 24px; border: 1px solid #ccc; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); font-family: Arial, sans-serif; } #mm-inches-converter h2 { font-size: 1.4rem; text-align: center; margin: 0 0 1rem; } #mm-inches-converter p { text-align: center; font-size: 0.95rem; color: #555; margin: 0 0 1.5rem; } #mm-inches-converter label { display: block; font-weight: 600; margin-top: 1rem; } #mm-inches-converter input { width: 100%; padding: 10px; margin-top: 6px; border: 1px solid #bbb; border-radius: 6px; font-size: 1rem; box-sizing: border-box; } // Tiny, isolated script: converts mm ↔ inches without polluting globals (function () { const mmInput = document.getElementById('mmValue'); const inchInput = document.getElementById('inchValueMM'); let lock = false; // prevents circular updates function round4(x) { return (Math.round(x * 10000) / 10000).toFixed(4); } mmInput.addEventListener('input', () => { if (lock) return; lock = true; const mm = parseFloat(mmInput.value); inchInput.value = isNaN(mm) ? '' : round4(mm / 25.4); lock = false; }); inchInput.addEventListener('input', () => { if (lock) return; lock = true; const inch = parseFloat(inchInput.value); mmInput.value = isNaN(inch) ? '' : round4(inch * 25.4); lock = false; }); })();

Inches to Feet

inches to feet Converter

Enter values below to convert inch [in] to foot [ft], or vice versa.

/* Namespaced rules so nothing else on your site is touched */ #inches-feet-converter { max-width: 420px; margin: 20px auto; padding: 24px; border: 1px solid #ccc; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); font-family: Arial, sans-serif; } #inches-feet-converter h2 { font-size: 1.4rem; text-align: center; margin: 0 0 1rem; } #inches-feet-converter p { text-align: center; font-size: 0.95rem; color: #555; margin: 0 0 1.5rem; } #inches-feet-converter label { display: block; font-weight: 600; margin-top: 1rem; } #inches-feet-converter input { width: 100%; padding: 10px; margin-top: 6px; border: 1px solid #bbb; border-radius: 6px; font-size: 1rem; box-sizing: border-box; } // Tiny, isolated script: converts inches ↔ feet without polluting globals (function () { const inchInput = document.getElementById('inchValueFt'); const feetInput = document.getElementById('feetValue'); let lock = false; function round4(x) { return (Math.round(x * 10000) / 10000).toFixed(4); } inchInput.addEventListener('input', () => { if (lock) return; lock = true; const inch = parseFloat(inchInput.value); feetInput.value = isNaN(inch) ? '' : round4(inch / 12); lock = false; }); feetInput.addEventListener('input', () => { if (lock) return; lock = true; const feet = parseFloat(feetInput.value); inchInput.value = isNaN(feet) ? '' : round4(feet * 12); lock = false; }); })();

Inches to Yards

inches to yards Converter

Enter values below to convert inch [in] to yard [yd], or vice versa.

/* Namespaced rules so nothing else on your site is touched */ #inches-yards-converter { max-width: 420px; margin: 20px auto; padding: 24px; border: 1px solid #ccc; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); font-family: Arial, sans-serif; } #inches-yards-converter h2 { font-size: 1.4rem; text-align: center; margin: 0 0 1rem; } #inches-yards-converter p { text-align: center; font-size: 0.95rem; color: #555; margin: 0 0 1.5rem; } #inches-yards-converter label { display: block; font-weight: 600; margin-top: 1rem; } #inches-yards-converter input { width: 100%; padding: 10px; margin-top: 6px; border: 1px solid #bbb; border-radius: 6px; font-size: 1rem; box-sizing: border-box; } // Tiny, isolated script: converts inches ↔ yards without polluting globals (function () { const inchInput = document.getElementById('inchValueYd'); const yardInput = document.getElementById('yardValue'); let lock = false; function round4(x) { return (Math.round(x * 10000) / 10000).toFixed(4); } inchInput.addEventListener('input', () => { if (lock) return; lock = true; const inch = parseFloat(inchInput.value); yardInput.value = isNaN(inch) ? '' : round4(inch / 36); lock = false; }); yardInput.addEventListener('input', () => { if (lock) return; lock = true; const yard = parseFloat(yardInput.value); inchInput.value = isNaN(yard) ? '' : round4(yard * 36); lock = false; }); })();

Feet to Miles

feet to miles Converter

Enter values below to convert foot [ft] to mile [mi], or vice versa.

/* Namespaced rules so nothing else on your site is touched */ #feet-miles-converter { max-width: 420px; margin: 20px auto; padding: 24px; border: 1px solid #ccc; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); font-family: Arial, sans-serif; } #feet-miles-converter h2 { font-size: 1.4rem; text-align: center; margin: 0 0 1rem; } #feet-miles-converter p { text-align: center; font-size: 0.95rem; color: #555; margin: 0 0 1.5rem; } #feet-miles-converter label { display: block; font-weight: 600; margin-top: 1rem; } #feet-miles-converter input { width: 100%; padding: 10px; margin-top: 6px; border: 1px solid #bbb; border-radius: 6px; font-size: 1rem; box-sizing: border-box; } // Tiny, isolated script: converts feet ↔ miles without polluting globals (function () { const feetInput = document.getElementById('feetValueMi'); const mileInput = document.getElementById('mileValue'); let lock = false; function round6(x) { return (Math.round(x * 1e6) / 1e6).toFixed(6); } feetInput.addEventListener('input', () => { if (lock) return; lock = true; const feet = parseFloat(feetInput.value); mileInput.value = isNaN(feet) ? '' : round6(feet / 5280); lock = false; }); mileInput.addEventListener('input', () => { if (lock) return; lock = true; const mile = parseFloat(mileInput.value); feetInput.value = isNaN(mile) ? '' : round6(mile * 5280); lock = false; }); })();