{"id":8310453,"date":"2025-09-09T09:24:33","date_gmt":"2025-09-09T06:24:33","guid":{"rendered":"https:\/\/elementor.com\/tools\/?p=8310453"},"modified":"2025-09-09T09:29:41","modified_gmt":"2025-09-09T06:29:41","slug":"typography-scale-calculator","status":"publish","type":"post","link":"https:\/\/elementor.com\/tools\/typography-scale-calculator\/","title":{"rendered":"Typography Scale Calculator"},"content":{"rendered":"\t\t<div data-elementor-type=\"container\" data-elementor-id=\"8310454\" class=\"elementor elementor-8310454\" data-elementor-post-type=\"elementor_library\">\n\t\t\t\t<div class=\"elementor-element elementor-element-23691a2c e-flex e-con-boxed e-con e-parent\" data-id=\"23691a2c\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-37c3711c elementor-widget elementor-widget-html\" data-id=\"37c3711c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<style>\r\n    \/* General App Styles (from your reference) *\/\r\n    .html-viewer-app {\r\n        width: 100%;\r\n        max-width: 1280px;\r\n        margin: 0 auto;\r\n        padding: 40px 15px 0;\r\n        background: transparent;\r\n        overflow: visible;\r\n        position: relative;\r\n        font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif;\r\n        color: #333;\r\n    }\r\n\r\n    .main-content {\r\n        display: flex;\r\n        gap: 30px;\r\n        flex-wrap: wrap;\r\n    }\r\n\r\n    \/* Adapted Section Styles *\/\r\n    .input-section,\r\n    .output-section {\r\n        flex: 1;\r\n        display: flex;\r\n        flex-direction: column;\r\n        background: white;\r\n        border-radius: 8px;\r\n        border: 1.5px solid #EBEBEB;\r\n        overflow: hidden;\r\n        min-width: 300px;\r\n    }\r\n\r\n    .input-section {\r\n       flex-basis: 350px;\r\n       flex-grow: 1;\r\n    }\r\n\r\n    .output-section {\r\n        flex-basis: 500px;\r\n        flex-grow: 2;\r\n    }\r\n\r\n    .section-header {\r\n        background-color: #05047E;\r\n        color: white;\r\n        padding: 12px 20px;\r\n        font-weight: 500;\r\n        font-size: 1.1rem;\r\n    }\r\n\r\n    .section-content {\r\n        padding: 20px;\r\n        flex: 1;\r\n    }\r\n\r\n    \/* Form & Control Styles *\/\r\n    .controls-grid {\r\n        display: grid;\r\n        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));\r\n        gap: 20px;\r\n    }\r\n\r\n    .control-group {\r\n        display: flex;\r\n        flex-direction: column;\r\n        gap: 8px;\r\n    }\r\n    \r\n    .control-group label {\r\n        font-weight: 500;\r\n        font-size: 0.9rem;\r\n    }\r\n\r\n    .form-control {\r\n        width: 100%;\r\n        padding: 10px;\r\n        border: 1.5px solid #EBEBEB;\r\n        border-radius: 4px;\r\n        font-size: 1rem;\r\n        background-color: #fff;\r\n        -webkit-appearance: none; \/* Removes default safari styling *\/\r\n    }\r\n\r\n    input.form-control {\r\n        box-sizing: border-box;\r\n    }\r\n    \r\n    .control-group select.form-control {\r\n        background-image: url(\"data:image\/svg+xml,%3csvg xmlns='http:\/\/www.w3.org\/2000\/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'\/%3e%3c\/svg%3e\");\r\n        background-position: right 0.5rem center;\r\n        background-repeat: no-repeat;\r\n        background-size: 1.5em 1.5em;\r\n        padding-right: 2.5rem;\r\n    }\r\n\r\n    \/* Buttons (from your reference) *\/\r\n     .reset-btn {\r\n        background: none;\r\n        border: none;\r\n        color: black;\r\n        text-decoration: underline;\r\n        font-size: 1rem;\r\n        cursor: pointer;\r\n        padding: 0;\r\n        margin-top: 24px;\r\n        transition: color 0.2s;\r\n    }\r\n\r\n    .reset-btn:is(:hover, :focus, :focus-visible, :active) {\r\n        background: none;\r\n        color: #545454;\r\n        text-decoration: underline;\r\n    }\r\n\r\n    .copy-btn-container {\r\n        position: absolute;\r\n        top: 8px;\r\n        right: 8px;\r\n        z-index: 10;\r\n    }\r\n\r\n    .copy-btn {\r\n        background-color: rgb(255, 255, 255);\r\n        color: black;\r\n        border: 1px solid #ddd;\r\n        padding: 6px 12px;\r\n        border-radius: 4px;\r\n        cursor: pointer;\r\n        font-size: 13px;\r\n        display: flex;\r\n        align-items: center;\r\n        gap: 8px;\r\n        transition: background-color 0.2s;\r\n    }\r\n    \r\n    .copy-btn:is(:hover, :focus, :focus-visible) {\r\n        background-color: #f6f6f6 !important;\r\n        color: black;\r\n    }\r\n\r\n    \/* Preview & Code Output Styles *\/\r\n    .visual-preview {\r\n        border-bottom: 1.5px solid #EBEBEB;\r\n        padding-bottom: 20px;\r\n        margin-bottom: 20px;\r\n    }\r\n    \r\n    .visual-preview p {\r\n        margin: 0.5em 0;\r\n        line-height: 1.4;\r\n        transition: font-size 0.2s ease-out;\r\n        overflow-wrap: break-word;\r\n        word-wrap: break-word;\r\n    }\r\n\r\n    .preview-info {\r\n        font-size: 0.8rem;\r\n        color: #6c757d;\r\n        margin-left: 1em;\r\n        font-family: 'Courier New', monospace;\r\n    }\r\n\r\n    .base-marker::after {\r\n        content: 'BASE';\r\n        font-size: 0.6rem;\r\n        font-weight: bold;\r\n        color: #05047E;\r\n        background-color: #EBEBEB;\r\n        padding: 2px 5px;\r\n        border-radius: 3px;\r\n        margin-left: 10px;\r\n        vertical-align: middle;\r\n    }\r\n    \r\n    .output-container {\r\n        flex: 1;\r\n        position: relative;\r\n        background-color: #fdfdfd;\r\n        border-radius: 4px;\r\n    }\r\n    \r\n    .output-code {\r\n        width: 100%;\r\n        height: 100%;\r\n        box-sizing: border-box;\r\n        border: none;\r\n        outline: none;\r\n        padding: 15px;\r\n        font-family: 'Courier New', monospace;\r\n        font-size: 13px;\r\n        line-height: 1.5;\r\n        background-color: transparent;\r\n        color: #333;\r\n        white-space: pre;\r\n        overflow: auto;\r\n    }\r\n\r\n    \/* Success Message (from your reference) *\/\r\n    .success-message {\r\n        position: fixed;\r\n        top: 20px;\r\n        right: 20px;\r\n        background-color: #28a745;\r\n        color: white;\r\n        padding: 12px 20px;\r\n        border-radius: 4px;\r\n        font-size: 14px;\r\n        opacity: 0;\r\n        transform: translateY(-20px);\r\n        transition: all 0.3s ease;\r\n        z-index: 1000;\r\n        pointer-events: none;\r\n    }\r\n\r\n    .success-message.show {\r\n        opacity: 1;\r\n        transform: translateY(0);\r\n    }\r\n<\/style>\r\n\r\n<div class=\"html-viewer-app\" id=\"type-scale-app\">\r\n    <div class=\"main-content\">\r\n        <!-- CONTROLS SECTION -->\r\n        <div class=\"input-section\">\r\n            <div class=\"section-header\">Controls<\/div>\r\n            <div class=\"section-content\">\r\n                <div class=\"controls-grid\">\r\n                    <div class=\"control-group\">\r\n                        <label for=\"baseSize\">Base Size (px)<\/label>\r\n                        <input type=\"number\" id=\"baseSize\" class=\"form-control\" value=\"16\" min=\"1\">\r\n                    <\/div>\r\n                    <div class=\"control-group\">\r\n                        <label for=\"scaleRatio\">Scale<\/label>\r\n                        <select id=\"scaleRatio\" class=\"form-control\"><\/select>\r\n                    <\/div>\r\n                    <div class=\"control-group\">\r\n                        <label for=\"levelsUp\">Headings<\/label>\r\n                        <input type=\"number\" id=\"levelsUp\" class=\"form-control\" value=\"5\" min=\"0\" max=\"10\">\r\n                    <\/div>\r\n                    <div class=\"control-group\">\r\n                        <label for=\"levelsDown\">Body Sizes<\/label>\r\n                        <input type=\"number\" id=\"levelsDown\" class=\"form-control\" value=\"2\" min=\"0\" max=\"5\">\r\n                    <\/div>\r\n                     <div class=\"control-group\">\r\n                        <label for=\"precision\">Rounding<\/label>\r\n                        <input type=\"number\" id=\"precision\" class=\"form-control\" value=\"2\" min=\"0\" max=\"5\">\r\n                    <\/div>\r\n                <\/div>\r\n                <button class=\"reset-btn\" id=\"resetBtn\">Reset to defaults<\/button>\r\n            <\/div>\r\n        <\/div>\r\n\r\n        <!-- PREVIEW & OUTPUT SECTION -->\r\n        <div class=\"output-section\">\r\n            <div class=\"section-header\">Preview & CSS Code<\/div>\r\n            <div class=\"section-content\">\r\n                <div class=\"visual-preview\" id=\"visualPreview\">\r\n                    <!-- Preview will be generated here by JS -->\r\n                <\/div>\r\n                <div class=\"output-container\">\r\n                    <div class=\"copy-btn-container\">\r\n                        <button class=\"copy-btn\" id=\"copyCssBtn\">\r\n                           <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\">\r\n                                <path d=\"M4 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V2Zm2-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H6ZM2 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1h-1v1a.5.5 0 0 1-.5.5H2.5a.5.5 0 0 1-.5-.5V6.5a.5.5 0 0 1 .5-.5H3v-1H2Z\"\/>\r\n                            <\/svg>\r\n                            <span>Copy CSS<\/span>\r\n                        <\/button>\r\n                    <\/div>\r\n                    <pre><code id=\"cssOutput\" class=\"output-code\" spellcheck=\"false\"><!-- CSS code will be generated here --><\/code><\/pre>\r\n                <\/div>\r\n            <\/div>\r\n        <\/div>\r\n    <\/div>\r\n    <div class=\"success-message\" id=\"copySuccessMessage\">Copied to clipboard!<\/div>\r\n<\/div>\r\n\r\n<script>\r\n    document.addEventListener('DOMContentLoaded', () => {\r\n        \/\/ --- DOM ELEMENTS ---\r\n        const baseSizeInput = document.getElementById('baseSize');\r\n        const scaleRatioSelect = document.getElementById('scaleRatio');\r\n        const levelsUpInput = document.getElementById('levelsUp');\r\n        const levelsDownInput = document.getElementById('levelsDown');\r\n        const precisionInput = document.getElementById('precision');\r\n        const resetBtn = document.getElementById('resetBtn');\r\n        const copyCssBtn = document.getElementById('copyCssBtn');\r\n        const visualPreviewContainer = document.getElementById('visualPreview');\r\n        const cssOutputElement = document.getElementById('cssOutput');\r\n        const successMessage = document.getElementById('copySuccessMessage');\r\n\r\n        \/\/ --- CONSTANTS & DEFAULTS ---\r\n        const PRESET_SCALES = {\r\n            '1.067': 'Minor Second',\r\n            '1.125': 'Major Second',\r\n            '1.200': 'Minor Third',\r\n            '1.250': 'Major Third',\r\n            '1.333': 'Perfect Fourth',\r\n            '1.414': 'Augmented Fourth',\r\n            '1.500': 'Perfect Fifth',\r\n            '1.618': 'Golden Ratio'\r\n        };\r\n        const DEFAULTS = {\r\n            baseSize: 16,\r\n            scale: 1.250,\r\n            levelsUp: 5,\r\n            levelsDown: 2,\r\n            precision: 2\r\n        };\r\n\r\n        \/\/ --- CORE FUNCTIONS ---\r\n\r\n        \/**\r\n         * Generates the array of font sizes based on current settings.\r\n         *\/\r\n        function generateScale() {\r\n            const base = parseFloat(baseSizeInput.value) || DEFAULTS.baseSize;\r\n            const ratio = parseFloat(scaleRatioSelect.value) || DEFAULTS.scale;\r\n            const upCount = parseInt(levelsUpInput.value) || 0;\r\n            const downCount = parseInt(levelsDownInput.value) || 0;\r\n            const precision = parseInt(precisionInput.value) || 0;\r\n\r\n            const scale = [];\r\n\r\n            \/\/ Generate smaller sizes\r\n            for (let i = downCount; i > 0; i--) {\r\n                const size = base \/ Math.pow(ratio, i);\r\n                scale.push(parseFloat(size.toFixed(precision)));\r\n            }\r\n\r\n            \/\/ Add base size\r\n            scale.push(base);\r\n\r\n            \/\/ Generate larger sizes\r\n            for (let i = 1; i <= upCount; i++) {\r\n                const size = base * Math.pow(ratio, i);\r\n                scale.push(parseFloat(size.toFixed(precision)));\r\n            }\r\n            \r\n            return scale;\r\n        }\r\n\r\n        \/**\r\n         * Updates the visual preview section with the calculated font sizes.\r\n         *\/\r\n        function updatePreview(scale) {\r\n            visualPreviewContainer.innerHTML = '';\r\n            const baseSize = parseFloat(baseSizeInput.value) || DEFAULTS.baseSize;\r\n            const precision = parseInt(precisionInput.value) || 0;\r\n            \r\n            [...scale].reverse().forEach(size => {\r\n                const p = document.createElement('p');\r\n                p.style.fontSize = `${size}px`;\r\n                p.textContent = 'Aa - The quick brown fox jumps over the lazy dog.';\r\n                \r\n                const info = document.createElement('span');\r\n                info.className = 'preview-info';\r\n                const remValue = (size \/ baseSize).toFixed(precision);\r\n                info.textContent = `(${size}px \/ ${remValue}rem)`;\r\n                p.appendChild(info);\r\n\r\n                if (size === baseSize) {\r\n                    p.classList.add('base-marker');\r\n                }\r\n\r\n                visualPreviewContainer.appendChild(p);\r\n            });\r\n        }\r\n\r\n        \/**\r\n         * Updates the CSS code block with custom properties for the scale.\r\n         *\/\r\n        function updateCssOutput(scale) {\r\n            const baseSize = parseFloat(baseSizeInput.value) || DEFAULTS.baseSize;\r\n            const precision = parseInt(precisionInput.value) || 0;\r\n            const baseIndex = scale.indexOf(baseSize);\r\n\r\n            let cssString = `:root {\\n`;\r\n            cssString += `  \/* Typography Scale *\/\\n`;\r\n            cssString += `  --font-size-base: ${baseSize}px;\\n\\n`;\r\n\r\n            scale.forEach((size, index) => {\r\n                const step = index - baseIndex;\r\n                const remValue = (size \/ baseSize).toFixed(precision);\r\n                cssString += `  --font-size-${step < 0 ? 'm' : ''}${Math.abs(step)}: ${remValue}rem; \/* ${size}px *\/\\n`;\r\n            });\r\n\r\n            cssString += `}`;\r\n            cssOutputElement.textContent = cssString;\r\n        }\r\n\r\n        \/**\r\n         * Main function to trigger all updates.\r\n         *\/\r\n        function updateAll() {\r\n            const scale = generateScale();\r\n            updatePreview(scale);\r\n            updateCssOutput(scale);\r\n        }\r\n\r\n        \/**\r\n         * Resets all inputs to their default values.\r\n         *\/\r\n        function resetToDefaults() {\r\n            baseSizeInput.value = DEFAULTS.baseSize;\r\n            scaleRatioSelect.value = DEFAULTS.scale;\r\n            levelsUpInput.value = DEFAULTS.levelsUp;\r\n            levelsDownInput.value = DEFAULTS.levelsDown;\r\n            precisionInput.value = DEFAULTS.precision;\r\n            updateAll();\r\n        }\r\n\r\n        \/**\r\n         * Copies the generated CSS to the clipboard.\r\n         *\/\r\n        function copyCssToClipboard() {\r\n            navigator.clipboard.writeText(cssOutputElement.textContent).then(() => {\r\n                successMessage.classList.add('show');\r\n                setTimeout(() => {\r\n                    successMessage.classList.remove('show');\r\n                }, 2000);\r\n            }).catch(err => {\r\n                console.error('Failed to copy text: ', err);\r\n            });\r\n        }\r\n        \r\n        \/\/ --- INITIALIZATION & EVENT LISTENERS ---\r\n\r\n        \/\/ Populate the scale ratio select dropdown\r\n        Object.entries(PRESET_SCALES).forEach(([value, name]) => {\r\n            const option = document.createElement('option');\r\n            option.value = value;\r\n            option.textContent = `${name} (${value})`;\r\n            scaleRatioSelect.appendChild(option);\r\n        });\r\n\r\n        \/\/ Set default values and perform initial calculation\r\n        resetToDefaults();\r\n\r\n        \/\/ Attach event listeners to all controls\r\n        [baseSizeInput, scaleRatioSelect, levelsUpInput, levelsDownInput, precisionInput].forEach(input => {\r\n            input.addEventListener('input', updateAll);\r\n        });\r\n        resetBtn.addEventListener('click', resetToDefaults);\r\n        copyCssBtn.addEventListener('click', copyCssToClipboard);\r\n    });\r\n<\/script>\r\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[22],"tags":[21],"class_list":["post-8310453","post","type-post","status-publish","format-standard","hentry","category-tools","tag-html-css-tools"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Typography Scale Calculator<\/title>\n<meta name=\"description\" content=\"Effortlessly create harmonious typographic scales for your website with our free Typography Scale Calculator. Define your base font size and ratio to generate perfect headings (H1-H6) and body text sizes for enhanced readability and design.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/elementor.com\/tools\/typography-scale-calculator\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Typography Scale Calculator\" \/>\n<meta property=\"og:description\" content=\"Effortlessly create harmonious typographic scales for your website with our free Typography Scale Calculator. Define your base font size and ratio to generate perfect headings (H1-H6) and body text sizes for enhanced readability and design.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/elementor.com\/tools\/typography-scale-calculator\/\" \/>\n<meta property=\"og:site_name\" content=\"Tools\" \/>\n<meta property=\"article:published_time\" content=\"2025-09-09T06:24:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-09T06:29:41+00:00\" \/>\n<meta name=\"author\" content=\"liz@148.red\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"liz@148.red\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/elementor.com\/tools\/typography-scale-calculator\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/elementor.com\/tools\/typography-scale-calculator\/\"},\"author\":{\"name\":\"liz@148.red\",\"@id\":\"https:\/\/elementor.com\/tools\/#\/schema\/person\/80e8375cb95e6030bc2f897c41c985ac\"},\"headline\":\"Typography Scale Calculator\",\"datePublished\":\"2025-09-09T06:24:33+00:00\",\"dateModified\":\"2025-09-09T06:29:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/elementor.com\/tools\/typography-scale-calculator\/\"},\"wordCount\":5,\"keywords\":[\"Html-Css-tools\"],\"articleSection\":[\"tools\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/elementor.com\/tools\/typography-scale-calculator\/\",\"url\":\"https:\/\/elementor.com\/tools\/typography-scale-calculator\/\",\"name\":\"Typography Scale Calculator\",\"isPartOf\":{\"@id\":\"https:\/\/elementor.com\/tools\/#website\"},\"datePublished\":\"2025-09-09T06:24:33+00:00\",\"dateModified\":\"2025-09-09T06:29:41+00:00\",\"author\":{\"@id\":\"https:\/\/elementor.com\/tools\/#\/schema\/person\/80e8375cb95e6030bc2f897c41c985ac\"},\"description\":\"Effortlessly create harmonious typographic scales for your website with our free Typography Scale Calculator. Define your base font size and ratio to generate perfect headings (H1-H6) and body text sizes for enhanced readability and design.\",\"breadcrumb\":{\"@id\":\"https:\/\/elementor.com\/tools\/typography-scale-calculator\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/elementor.com\/tools\/typography-scale-calculator\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/elementor.com\/tools\/typography-scale-calculator\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/elementor.com\/tools\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Typography Scale Calculator\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/elementor.com\/tools\/#website\",\"url\":\"https:\/\/elementor.com\/tools\/\",\"name\":\"Tools\",\"description\":\"Just another Elementor hosted website ;)\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/elementor.com\/tools\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/elementor.com\/tools\/#\/schema\/person\/80e8375cb95e6030bc2f897c41c985ac\",\"name\":\"liz@148.red\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/63b900d3310bd1ed40162fb27f016e9920ae66fa5be07be5153344329ef7d9d2?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/63b900d3310bd1ed40162fb27f016e9920ae66fa5be07be5153344329ef7d9d2?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/63b900d3310bd1ed40162fb27f016e9920ae66fa5be07be5153344329ef7d9d2?s=96&d=mm&r=g\",\"caption\":\"liz@148.red\"},\"url\":\"https:\/\/elementor.com\/tools\/author\/liz148-red\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Typography Scale Calculator","description":"Effortlessly create harmonious typographic scales for your website with our free Typography Scale Calculator. Define your base font size and ratio to generate perfect headings (H1-H6) and body text sizes for enhanced readability and design.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/elementor.com\/tools\/typography-scale-calculator\/","og_locale":"en_US","og_type":"article","og_title":"Typography Scale Calculator","og_description":"Effortlessly create harmonious typographic scales for your website with our free Typography Scale Calculator. Define your base font size and ratio to generate perfect headings (H1-H6) and body text sizes for enhanced readability and design.","og_url":"https:\/\/elementor.com\/tools\/typography-scale-calculator\/","og_site_name":"Tools","article_published_time":"2025-09-09T06:24:33+00:00","article_modified_time":"2025-09-09T06:29:41+00:00","author":"liz@148.red","twitter_card":"summary_large_image","twitter_misc":{"Written by":"liz@148.red","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/elementor.com\/tools\/typography-scale-calculator\/#article","isPartOf":{"@id":"https:\/\/elementor.com\/tools\/typography-scale-calculator\/"},"author":{"name":"liz@148.red","@id":"https:\/\/elementor.com\/tools\/#\/schema\/person\/80e8375cb95e6030bc2f897c41c985ac"},"headline":"Typography Scale Calculator","datePublished":"2025-09-09T06:24:33+00:00","dateModified":"2025-09-09T06:29:41+00:00","mainEntityOfPage":{"@id":"https:\/\/elementor.com\/tools\/typography-scale-calculator\/"},"wordCount":5,"keywords":["Html-Css-tools"],"articleSection":["tools"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/elementor.com\/tools\/typography-scale-calculator\/","url":"https:\/\/elementor.com\/tools\/typography-scale-calculator\/","name":"Typography Scale Calculator","isPartOf":{"@id":"https:\/\/elementor.com\/tools\/#website"},"datePublished":"2025-09-09T06:24:33+00:00","dateModified":"2025-09-09T06:29:41+00:00","author":{"@id":"https:\/\/elementor.com\/tools\/#\/schema\/person\/80e8375cb95e6030bc2f897c41c985ac"},"description":"Effortlessly create harmonious typographic scales for your website with our free Typography Scale Calculator. Define your base font size and ratio to generate perfect headings (H1-H6) and body text sizes for enhanced readability and design.","breadcrumb":{"@id":"https:\/\/elementor.com\/tools\/typography-scale-calculator\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/elementor.com\/tools\/typography-scale-calculator\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/elementor.com\/tools\/typography-scale-calculator\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/elementor.com\/tools\/"},{"@type":"ListItem","position":2,"name":"Typography Scale Calculator"}]},{"@type":"WebSite","@id":"https:\/\/elementor.com\/tools\/#website","url":"https:\/\/elementor.com\/tools\/","name":"Tools","description":"Just another Elementor hosted website ;)","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/elementor.com\/tools\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/elementor.com\/tools\/#\/schema\/person\/80e8375cb95e6030bc2f897c41c985ac","name":"liz@148.red","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/63b900d3310bd1ed40162fb27f016e9920ae66fa5be07be5153344329ef7d9d2?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/63b900d3310bd1ed40162fb27f016e9920ae66fa5be07be5153344329ef7d9d2?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/63b900d3310bd1ed40162fb27f016e9920ae66fa5be07be5153344329ef7d9d2?s=96&d=mm&r=g","caption":"liz@148.red"},"url":"https:\/\/elementor.com\/tools\/author\/liz148-red\/"}]}},"_links":{"self":[{"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/posts\/8310453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/comments?post=8310453"}],"version-history":[{"count":1,"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/posts\/8310453\/revisions"}],"predecessor-version":[{"id":8310457,"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/posts\/8310453\/revisions\/8310457"}],"wp:attachment":[{"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/media?parent=8310453"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/categories?post=8310453"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elementor.com\/tools\/wp-json\/wp\/v2\/tags?post=8310453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}