{"id":1717,"date":"2026-08-05T17:59:27","date_gmt":"2026-08-05T15:59:27","guid":{"rendered":"https:\/\/unpoquitodetodo.es\/index.php\/calculadora-iva\/"},"modified":"2026-08-05T18:00:05","modified_gmt":"2026-08-05T16:00:05","slug":"calculadora-iva","status":"publish","type":"page","link":"https:\/\/unpoquitodetodo.es\/index.php\/calculadora-iva\/","title":{"rendered":"\ud83d\udcb6 Calculadora de IVA Online"},"content":{"rendered":"<style>\n.iva-calculator-container {\n    background: #ffffff;\n    border: 1px solid #e2e8f0;\n    border-radius: 12px;\n    padding: 25px;\n    box-shadow: 0 4px 15px rgba(0,0,0,0.05);\n    max-width: 700px;\n    margin: 0 auto 30px auto;\n    font-family: system-ui, -apple-system, sans-serif;\n}\n.iva-grid {\n    display: grid;\n    grid-template-columns: 1fr 1fr;\n    gap: 15px;\n    margin-bottom: 20px;\n}\n@media (max-width: 600px) {\n    .iva-grid { grid-template-columns: 1fr; }\n}\n.iva-label {\n    font-weight: 600;\n    color: #1e293b;\n    font-size: 14px;\n    display: block;\n    margin-bottom: 6px;\n}\n.iva-input, .iva-select {\n    width: 100%;\n    padding: 12px;\n    border: 1px solid #cbd5e1;\n    border-radius: 8px;\n    font-size: 16px;\n    box-sizing: border-box;\n    background-color: #f8fafc;\n    transition: border-color 0.2s, background-color 0.2s;\n}\n.iva-input:focus, .iva-select:focus {\n    border-color: #0284c7;\n    background-color: #ffffff;\n    outline: none;\n}\n.iva-radio-group {\n    display: flex;\n    gap: 15px;\n    margin-top: 8px;\n}\n.iva-radio-label {\n    display: flex;\n    align-items: center;\n    gap: 6px;\n    font-size: 14px;\n    font-weight: 500;\n    cursor: pointer;\n}\n.iva-results-box {\n    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);\n    border-radius: 10px;\n    padding: 20px;\n    color: #ffffff;\n    margin-top: 20px;\n    box-shadow: 0 4px 12px rgba(0,0,0,0.15);\n}\n.iva-result-row {\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    padding: 8px 0;\n    border-bottom: 1px solid #334155;\n    font-size: 15px;\n}\n.iva-result-row:last-child {\n    border-bottom: none;\n    padding-top: 12px;\n    font-size: 18px;\n    font-weight: bold;\n}\n.iva-result-value {\n    color: #38bdf8;\n    font-weight: bold;\n}\n.iva-total-value {\n    color: #4ade80;\n    font-weight: 800;\n    font-size: 22px;\n}\n.iva-info-box {\n    background: #f1f5f9;\n    border-left: 4px solid #0284c7;\n    padding: 15px;\n    border-radius: 6px;\n    margin-top: 30px;\n    font-size: 14px;\n    color: #334155;\n    line-height: 1.6;\n}\n<\/style>\n<div class=\"iva-calculator-container\">\n<h2 style=\"margin-top:0; color:#0284c7; font-size:22px; text-align:center; margin-bottom:20px;\">\ud83d\udcb6 Calculadora de IVA Espa\u00f1a (A\u00f1adir o Quitar IVA)<\/h2>\n<div class=\"iva-grid\">\n<div>\n            <label class=\"iva-label\" for=\"iva_amount\">Importe (\u20ac):<\/label><br \/>\n            <input type=\"number\" id=\"iva_amount\" class=\"iva-input\" value=\"100\" step=\"any\" placeholder=\"Ej: 100\">\n        <\/div>\n<div>\n            <label class=\"iva-label\" for=\"iva_rate\">Tipo de IVA (%):<\/label><br \/>\n            <select id=\"iva_rate\" class=\"iva-select\"><option value=\"21\" selected>21% &#8211; General (Casi todos los productos\/servicios)<\/option><option value=\"10\">10% &#8211; Reducido (Hosteler\u00eda, transporte, agua&#8230;)<\/option><option value=\"4\">4% &#8211; Superreducido (Pan, leche, libros, medicamentos&#8230;)<\/option><option value=\"0\">0% &#8211; Exento \/ Tipo 0%<\/option><\/select>\n        <\/div>\n<\/p><\/div>\n<div style=\"margin-bottom: 20px;\">\n        <label class=\"iva-label\">Operaci\u00f3n:<\/label><\/p>\n<div class=\"iva-radio-group\">\n            <label class=\"iva-radio-label\"><br \/>\n                <input type=\"radio\" name=\"iva_action\" value=\"add\" checked> A\u00f1adir IVA al precio Base (Calcular Total)<br \/>\n            <\/label><br \/>\n            <label class=\"iva-radio-label\"><br \/>\n                <input type=\"radio\" name=\"iva_action\" value=\"remove\"> Desglosar \/ Quitar IVA (Extraer Base)<br \/>\n            <\/label>\n        <\/div>\n<\/p><\/div>\n<div class=\"iva-results-box\">\n<div class=\"iva-result-row\">\n            <span>Base Imponible:<\/span><br \/>\n            <span id=\"res_base\" class=\"iva-result-value\">100,00 \u20ac<\/span>\n        <\/div>\n<div class=\"iva-result-row\">\n            <span>Cuota de IVA (<span id=\"res_rate_text\">21%<\/span>):<\/span><br \/>\n            <span id=\"res_tax\" class=\"iva-result-value\">21,00 \u20ac<\/span>\n        <\/div>\n<div class=\"iva-result-row\">\n            <span>Importe Total (IVA Incluido):<\/span><br \/>\n            <span id=\"res_total\" class=\"iva-total-value\">121,00 \u20ac<\/span>\n        <\/div>\n<\/p><\/div>\n<\/div>\n<div class=\"iva-info-box\">\n<h4 style=\"margin-top:0; color:#0f172a;\">\u2139\ufe0f \u00bfC\u00f3mo funciona el c\u00e1lculo del IVA?<\/h4>\n<ul>\n<li><strong>A\u00f1adir IVA:<\/strong> Multiplica la Base Imponible por <code>(1 + IVA\/100)<\/code>. Por ejemplo, 100 \u20ac + 21% = 121 \u20ac.<\/li>\n<li><strong>Desglosar \/ Quitar IVA:<\/strong> Divide el importe total entre <code>(1 + IVA\/100)<\/code> para obtener la Base real sin el impuesto. Por ejemplo, 121 \u20ac \/ 1,21 = 100 \u20ac Base (y 21 \u20ac de cuota IVA).<\/li>\n<\/ul>\n<\/div>\n<p><script>\ndocument.addEventListener('DOMContentLoaded', function() {\n    const amountInput = document.getElementById('iva_amount');\n    const rateSelect = document.getElementById('iva_rate');\n    const actionRadios = document.querySelectorAll('input[name=\"iva_action\"]');<\/p>\n<p>    const resBase = document.getElementById('res_base');\n    const resTax = document.getElementById('res_tax');\n    const resTotal = document.getElementById('res_total');\n    const resRateText = document.getElementById('res_rate_text');<\/p>\n<p>    function calculateIVA() {\n        const amount = parseFloat(amountInput.value) || 0;\n        const rate = parseFloat(rateSelect.value) || 0;\n        let action = 'add';<\/p>\n<p>        actionRadios.forEach(r => { if(r.checked) action = r.value; });<\/p>\n<p>        let base = 0;\n        let tax = 0;\n        let total = 0;<\/p>\n<p>        if (action === 'add') {\n            base = amount;\n            tax = base * (rate \/ 100);\n            total = base + tax;\n        } else {\n            total = amount;\n            base = total \/ (1 + (rate \/ 100));\n            tax = total - base;\n        }<\/p>\n<p>        resRateText.textContent = rate + '%';\n        resBase.textContent = base.toLocaleString('es-ES', { minimumFractionDigits: 2, maximumFractionDigits: 2 }) + ' \u20ac';\n        resTax.textContent = tax.toLocaleString('es-ES', { minimumFractionDigits: 2, maximumFractionDigits: 2 }) + ' \u20ac';\n        resTotal.textContent = total.toLocaleString('es-ES', { minimumFractionDigits: 2, maximumFractionDigits: 2 }) + ' \u20ac';\n    }<\/p>\n<p>    if (amountInput) {\n        amountInput.addEventListener('input', calculateIVA);\n        rateSelect.addEventListener('change', calculateIVA);\n        actionRadios.forEach(r => r.addEventListener('change', calculateIVA));\n        calculateIVA();\n    }\n});\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ud83d\udcb6 Calculadora de IVA Espa\u00f1a (A\u00f1adir o Quitar IVA) Importe (\u20ac): Tipo de IVA (%): 21% &#8211; General (Casi todos<\/p>\n","protected":false},"author":0,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","footnotes":""},"class_list":["post-1717","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\ud83d\udcb6 Calculadora de IVA Online - Un Poquito de Todo<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/unpoquitodetodo.es\/index.php\/calculadora-iva\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ud83d\udcb6 Calculadora de IVA Online - Un Poquito de Todo\" \/>\n<meta property=\"og:description\" content=\"\ud83d\udcb6 Calculadora de IVA Espa\u00f1a (A\u00f1adir o Quitar IVA) Importe (\u20ac): Tipo de IVA (%): 21% &#8211; General (Casi todos\" \/>\n<meta property=\"og:url\" content=\"https:\/\/unpoquitodetodo.es\/index.php\/calculadora-iva\/\" \/>\n<meta property=\"og:site_name\" content=\"Un Poquito de Todo\" \/>\n<meta property=\"article:modified_time\" content=\"2026-08-05T16:00:05+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/unpoquitodetodo.es\\\/index.php\\\/calculadora-iva\\\/\",\"url\":\"https:\\\/\\\/unpoquitodetodo.es\\\/index.php\\\/calculadora-iva\\\/\",\"name\":\"\ud83d\udcb6 Calculadora de IVA Online - Un Poquito de Todo\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/unpoquitodetodo.es\\\/#website\"},\"datePublished\":\"2026-08-05T15:59:27+00:00\",\"dateModified\":\"2026-08-05T16:00:05+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/unpoquitodetodo.es\\\/index.php\\\/calculadora-iva\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/unpoquitodetodo.es\\\/index.php\\\/calculadora-iva\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/unpoquitodetodo.es\\\/index.php\\\/calculadora-iva\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/unpoquitodetodo.es\\\/index.php\\\/portada\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ud83d\udcb6 Calculadora de IVA Online\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/unpoquitodetodo.es\\\/#website\",\"url\":\"https:\\\/\\\/unpoquitodetodo.es\\\/\",\"name\":\"Un Poquito de Todo\",\"description\":\"Tu revista de tecnolog\u00eda, ofertas, gaming e inteligencia artificial en tiempo real\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/unpoquitodetodo.es\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\ud83d\udcb6 Calculadora de IVA Online - Un Poquito de Todo","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:\/\/unpoquitodetodo.es\/index.php\/calculadora-iva\/","og_locale":"en_US","og_type":"article","og_title":"\ud83d\udcb6 Calculadora de IVA Online - Un Poquito de Todo","og_description":"\ud83d\udcb6 Calculadora de IVA Espa\u00f1a (A\u00f1adir o Quitar IVA) Importe (\u20ac): Tipo de IVA (%): 21% &#8211; General (Casi todos","og_url":"https:\/\/unpoquitodetodo.es\/index.php\/calculadora-iva\/","og_site_name":"Un Poquito de Todo","article_modified_time":"2026-08-05T16:00:05+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/unpoquitodetodo.es\/index.php\/calculadora-iva\/","url":"https:\/\/unpoquitodetodo.es\/index.php\/calculadora-iva\/","name":"\ud83d\udcb6 Calculadora de IVA Online - Un Poquito de Todo","isPartOf":{"@id":"https:\/\/unpoquitodetodo.es\/#website"},"datePublished":"2026-08-05T15:59:27+00:00","dateModified":"2026-08-05T16:00:05+00:00","breadcrumb":{"@id":"https:\/\/unpoquitodetodo.es\/index.php\/calculadora-iva\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/unpoquitodetodo.es\/index.php\/calculadora-iva\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/unpoquitodetodo.es\/index.php\/calculadora-iva\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/unpoquitodetodo.es\/index.php\/portada\/"},{"@type":"ListItem","position":2,"name":"\ud83d\udcb6 Calculadora de IVA Online"}]},{"@type":"WebSite","@id":"https:\/\/unpoquitodetodo.es\/#website","url":"https:\/\/unpoquitodetodo.es\/","name":"Un Poquito de Todo","description":"Tu revista de tecnolog\u00eda, ofertas, gaming e inteligencia artificial en tiempo real","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/unpoquitodetodo.es\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/unpoquitodetodo.es\/index.php\/wp-json\/wp\/v2\/pages\/1717","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unpoquitodetodo.es\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/unpoquitodetodo.es\/index.php\/wp-json\/wp\/v2\/types\/page"}],"replies":[{"embeddable":true,"href":"https:\/\/unpoquitodetodo.es\/index.php\/wp-json\/wp\/v2\/comments?post=1717"}],"version-history":[{"count":1,"href":"https:\/\/unpoquitodetodo.es\/index.php\/wp-json\/wp\/v2\/pages\/1717\/revisions"}],"predecessor-version":[{"id":1718,"href":"https:\/\/unpoquitodetodo.es\/index.php\/wp-json\/wp\/v2\/pages\/1717\/revisions\/1718"}],"wp:attachment":[{"href":"https:\/\/unpoquitodetodo.es\/index.php\/wp-json\/wp\/v2\/media?parent=1717"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}