{"id":262,"date":"2026-04-02T17:20:43","date_gmt":"2026-04-02T15:20:43","guid":{"rendered":"https:\/\/gestor-nieruchomosci.pl\/ogloszenia\/?page_id=262"},"modified":"2026-04-02T17:23:00","modified_gmt":"2026-04-02T15:23:00","slug":"kalkulator","status":"publish","type":"page","link":"https:\/\/gestor-nieruchomosci.pl\/ogloszenia\/kalkulator\/","title":{"rendered":"Kalkulator"},"content":{"rendered":"\n<div class=\"luxury-calc-wrapper\">\n    <div class=\"calc-container\">\n        <div class=\"inputs-section\">\n            <h2 class=\"calc-title\">Dane zakupu<\/h2>\n            \n            <div class=\"calc-input-group\">\n                <label>Cena nieruchomo\u015bci (PLN)<\/label>\n                <input type=\"number\" id=\"price\" value=\"500000\" oninput=\"calculate()\">\n            <\/div>\n\n            <div class=\"calc-input-group\">\n                <label>Forma zakupu<\/label>\n                <select id=\"type\" onchange=\"calculate()\">\n                    <option value=\"cash\">Got\u00f3wka<\/option>\n                    <option value=\"credit\">Kredyt hipoteczny<\/option>\n                <\/select>\n            <\/div>\n\n            <div class=\"calc-checkbox-group\">\n                <input type=\"checkbox\" id=\"firstHome\" onchange=\"calculate()\">\n                <label for=\"firstHome\">Zwolnienie z PCC (Pierwsze mieszkanie)<\/label>\n            <\/div>\n\n            <div class=\"calc-input-group\" style=\"margin-top: 20px;\">\n                <label>Prowizja po\u015brednika (%)<\/label>\n                <input type=\"number\" id=\"agentCommission\" value=\"0\" step=\"0.1\" oninput=\"calculate()\">\n            <\/div>\n        <\/div>\n\n        <div class=\"results-section\">\n            <h2 class=\"calc-title\">Koszty transakcji<\/h2>\n            \n            <div id=\"results-list\">\n                <div class=\"result-item\">\n                    <span>Podatek PCC (2%)<\/span>\n                    <span id=\"res-pcc\">10 000 z\u0142<\/span>\n                <\/div>\n                <div class=\"result-item\">\n                    <span>Taksa notarialna (+VAT)<\/span>\n                    <span id=\"res-notary\">3 200 z\u0142<\/span>\n                <\/div>\n                <div class=\"result-item\">\n                    <span>Koszty s\u0105dowe<\/span>\n                    <span id=\"res-court\">200 z\u0142<\/span>\n                <\/div>\n                <div class=\"result-item\" id=\"credit-row\" style=\"display:none;\">\n                    <span>Koszty bankowe \/ Operat<\/span>\n                    <span id=\"res-credit\">1 500 z\u0142<\/span>\n                <\/div>\n                <div class=\"result-item\">\n                    <span>Prowizja po\u015brednika<\/span>\n                    <span id=\"res-agent\">0 z\u0142<\/span>\n                <\/div>\n            <\/div>\n\n            <div class=\"total-cost-box\">\n                <p>Suma koszt\u00f3w dodatkowych<\/p>\n                <div class=\"amount\" id=\"res-total\">13 400 z\u0142<\/div>\n            <\/div>\n\n            <button class=\"gold-action-button\" onclick=\"window.print()\">Pobierz zestawienie<\/button>\n        <\/div>\n    <\/div>\n<\/div>\n\n<style>\n    \/* Wrapper ograniczaj\u0105cy wp\u0142yw na reszt\u0119 strony WP *\/\n    .luxury-calc-wrapper {\n        --g-gold: #d4af37;\n        --g-black-soft: #1a1a1a;\n        padding: 40px 0;\n        width: 100%;\n        display: flex;\n        justify-content: center;\n    }\n\n    .calc-container {\n        width: 100%;\n        max-width: 1000px;\n        background: var(--g-black-soft);\n        border: 1px solid #333;\n        border-radius: 12px;\n        display: flex;\n        flex-wrap: wrap;\n        overflow: hidden;\n        box-shadow: 0 15px 35px rgba(0,0,0,0.4);\n        color: #ffffff;\n    }\n\n    .inputs-section {\n        flex: 1;\n        min-width: 300px;\n        padding: 30px;\n        border-right: 1px solid #333;\n    }\n\n    .results-section {\n        flex: 1;\n        min-width: 300px;\n        padding: 30px;\n        background: #111;\n    }\n\n    .calc-title {\n        color: var(--g-gold) !important;\n        font-size: 1.4rem !important;\n        margin-bottom: 25px !important;\n        text-transform: uppercase;\n        letter-spacing: 1px;\n    }\n\n    .calc-input-group { margin-bottom: 15px; }\n    \n    .calc-input-group label {\n        display: block;\n        color: #aaa;\n        margin-bottom: 5px;\n        font-size: 0.85rem;\n    }\n\n    .calc-input-group input, .calc-input-group select {\n        width: 100%;\n        padding: 10px;\n        background: #222;\n        border: 1px solid #444;\n        color: #fff;\n        border-radius: 4px;\n    }\n\n    .calc-checkbox-group {\n        display: flex;\n        align-items: center;\n        gap: 10px;\n        font-size: 0.85rem;\n        color: #ccc;\n    }\n\n    .result-item {\n        display: flex;\n        justify-content: space-between;\n        margin-bottom: 12px;\n        border-bottom: 1px solid #222;\n        padding-bottom: 8px;\n        font-size: 0.95rem;\n    }\n\n    .total-cost-box {\n        margin-top: 25px;\n        padding: 15px;\n        background: #000;\n        border: 1px solid var(--g-gold);\n        text-align: center;\n        border-radius: 6px;\n    }\n\n    .total-cost-box p { margin: 0; color: #888; font-size: 0.9rem; }\n    \n    .total-cost-box .amount {\n        color: var(--g-gold);\n        font-size: 1.8rem;\n        font-weight: bold;\n    }\n\n    .gold-action-button {\n        width: 100%;\n        margin-top: 20px;\n        padding: 15px;\n        background: linear-gradient(135deg, #f5e0a3, #d4af37);\n        border: none;\n        color: #000;\n        font-weight: bold;\n        cursor: pointer;\n        border-radius: 4px;\n    }\n\n    @media (max-width: 768px) {\n        .calc-container { flex-direction: column; }\n        .inputs-section { border-right: none; border-bottom: 1px solid #333; }\n    }\n<\/style>\n\n<script>\n    function calculate() {\n        const p = parseFloat(document.getElementById('price').value) || 0;\n        const isFirst = document.getElementById('firstHome').checked;\n        const isCredit = document.getElementById('type').value === 'credit';\n        const agentR = parseFloat(document.getElementById('agentCommission').value) || 0;\n\n        const pcc = isFirst ? 0 : p * 0.02;\n        \n        let t = 0;\n        if (p <= 30000) t = 310;\n        else if (p <= 60000) t = 310 + (p - 30000) * 0.004;\n        else if (p <= 1000000) t = 1010 + (p - 60000) * 0.004;\n        else t = 4770 + (p - 1000000) * 0.002;\n        \n        const notary = t * 1.23;\n        const court = isCredit ? 400 : 200;\n        const agent = p * (agentR \/ 100);\n        const extra = isCredit ? 1200 : 0;\n\n        document.getElementById('res-pcc').innerText = Math.round(pcc).toLocaleString() + ' z\u0142';\n        document.getElementById('res-notary').innerText = Math.round(notary).toLocaleString() + ' z\u0142';\n        document.getElementById('res-court').innerText = court + ' z\u0142';\n        document.getElementById('res-agent').innerText = Math.round(agent).toLocaleString() + ' z\u0142';\n        document.getElementById('res-credit').innerText = extra.toLocaleString() + ' z\u0142';\n        document.getElementById('res-total').innerText = Math.round(pcc + notary + court + agent + extra).toLocaleString() + ' z\u0142';\n        document.getElementById('credit-row').style.display = isCredit ? 'flex' : 'none';\n    }\n    calculate();\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>Dane zakupu Cena nieruchomo\u015bci (PLN) Forma zakupu Got\u00f3wkaKredyt hipoteczny Zwolnienie z PCC (Pierwsze mieszkanie) Prowizja po\u015brednika (%) Koszty transakcji Podatek PCC (2%) 10 000 z\u0142 Taksa notarialna (+VAT) 3 200 z\u0142 Koszty s\u0105dowe 200 z\u0142 Koszty bankowe \/ Operat 1 500 z\u0142 Prowizja po\u015brednika 0 z\u0142 Suma koszt\u00f3w dodatkowych 13 400 z\u0142 Pobierz zestawienie<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-262","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/gestor-nieruchomosci.pl\/ogloszenia\/wp-json\/wp\/v2\/pages\/262","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gestor-nieruchomosci.pl\/ogloszenia\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/gestor-nieruchomosci.pl\/ogloszenia\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/gestor-nieruchomosci.pl\/ogloszenia\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gestor-nieruchomosci.pl\/ogloszenia\/wp-json\/wp\/v2\/comments?post=262"}],"version-history":[{"count":4,"href":"https:\/\/gestor-nieruchomosci.pl\/ogloszenia\/wp-json\/wp\/v2\/pages\/262\/revisions"}],"predecessor-version":[{"id":267,"href":"https:\/\/gestor-nieruchomosci.pl\/ogloszenia\/wp-json\/wp\/v2\/pages\/262\/revisions\/267"}],"wp:attachment":[{"href":"https:\/\/gestor-nieruchomosci.pl\/ogloszenia\/wp-json\/wp\/v2\/media?parent=262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}