{"id":321,"date":"2018-02-06T13:45:45","date_gmt":"2018-02-06T13:45:45","guid":{"rendered":"https:\/\/j6labs.apps.services\/?page_id=321"},"modified":"2018-02-26T16:22:02","modified_gmt":"2018-02-26T16:22:02","slug":"tax-calculator","status":"publish","type":"page","link":"https:\/\/freelancehub.org\/index.php\/tax-calculator\/","title":{"rendered":"Tax Calculator"},"content":{"rendered":"<div id=\"pl-321\"  class=\"panel-layout\" ><div id=\"pg-321-0\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-321-0-0\"  class=\"panel-grid-cell\" ><div id=\"panel-321-0-0-0\" class=\"widget_text so-panel widget widget_custom_html panel-first-child panel-last-child\" data-index=\"0\" ><div class=\"textwidget custom-html-widget\"><style>\n.BigStyle {\n    font-size: 20px;\n\t  font-family: \"Roboto\";  \n\t  font-weight: 400;\n\t  color: green;\n}\n.MedStyle {\n    font-size: 18px;\n\t  font-family: \"Roboto\"; \n\t  font-weight: 200;\n\t  color: black;\n}\n.button15 {\n    background-color: #4CAF50;\n    border: none;\n    color: white;\n    padding: 15px 32px;\n    text-align: center;\n    text-decoration: none;\n    display: inline-block;\n    font-size: 16px;\n    margin: 4px 2px;\n    cursor: pointer;\n}\n\t.button16 {\n    background-color: #3383FF;\n    border: none;\n    color: white;\n    padding: 15px 32px;\n    text-align: center;\n    text-decoration: none;\n    display: inline-block;\n    font-size: 16px;\n    margin: 4px 2px;\n    cursor: pointer;\n}\na:link { color:#FFFFFF; text-decoration: none; }\na:visited { color:#FFFFFF; text-decoration: none; }\na:hover { color:#FFFFFF; text-decoration: none; }\na:active { color:#FFFFFF; text-decoration: none; }\n\n<\/style>\n<span class=\"BigStyle\">Just because you work for yourself doesn\u2019t mean taxes should be hard.<\/span>&nbsp; <span class=\"MedStyle\">Calculate how much you owe in taxes in two easy steps!<\/span><br><br>\n<hr>\n<br>\n    <!-- Bootstrap core CSS -->\n    <link href=\"https:\/\/save.j6labs.com\/bootstrap\/dist\/css\/bootstrap.min.css\" rel=\"stylesheet\">\n\n    <!-- Custom styles for this template -->\n    <!-- <link href=\"https:\/\/save.j6labs.com\/narrow-jumbotron.css\" rel=\"stylesheet\"> -->\n \n<div style=\"text-align: left;\">\n\t<form>\n  <div class=\"form-group\">\n    <label for=\"incomeInput\">How much is your estimated annual income from <b>Self Employment<\/b>?<\/label>\n    <input type=\"text\" class=\"form-control\" id=\"incomeInput\" aria-describedby=\"emailHelp\" placeholder=\"My annual income\">\n    <small id=\"emailHelp\" class=\"form-text text-muted\"><\/small>\n  <\/div>\n  <div class=\"form-group\">\n\t\t<br>\n    <label for=\"server_init_method\">Which  range below does your <b>total annual income from all sources<\/b> fall into?<\/label>\n    <select class=\"form-control\" id=\"incomeBracket\" name=\"incomeBracket\">\n      <option value=\"9325\">0 to $9325<\/option>\n      <option value=\"37950\">$9,325 to $37,950<\/option>\n      <option value=\"91900\">$37,950 to $91,900<\/option>\n      <option value=\"191650\">$91,900 to $191,650<\/option>\n      <option value=\"416700\">$191,650 to $416,700<\/option>\n      <option value=\"418400\">$416,700 to $418,400<\/option>\n      <option value=\"418401\">$418,400+<\/option>\n    <\/select>\n<\/div>\n<div class=\"form-group\">\n\t<br>\n<br>\n\n<button id=\"calculateButton\"  class=\"button15\" type=\"button\" ><a href=\"#\" class=\"mailoptin-click-trigger\" data-optin-uuid=\"pzyCpyAXzr\">Calculate<\/a><\/button><br><br>\n<!--  <label for=\"taxRateInput\">\nBased on range above, your Self Employed Tax Rate percentage is:<\/label>\n<input type=\"text\" readonly class=\"form-control\" id=\"taxRateInput\" placeholder=\"\"> -->\n<\/div>\n<\/form>\n\n<div id=\"payment\"><\/div>\n<div style=\"display: none; margin-top: 20px;\" id=\"taxAmountContainer\"><span class=\"MedStyle\">Estimated taxes you will owe:<\/span> <span style=\"font-weight: bold;\" id=\"taxes\"><\/span>.\n\n \n<br><br>\n<span class=\"MedStyle\">Freelance Hub has partnered with <b>Track<\/b> to allow you set aside funds to pay for your taxes: <\/span>\n<a href=\"https:\/\/track.tax\/?partner=freelancehub&utm_source=freelancehub&utm_medium=ad&utm_campaign=FH_2.0Ttax\" class=\"button16\" target=\"_top\">Get Started with Track<\/a><br><br>\n<div align=\"center\"> <a class= \"trackLink\" href=\"https:\/\/track.tax\/?partner=freelancehub&utm_source=freelancehub&utm_medium=ad&utm_campaign=FH_2.0Ttax\" target=\"_top\"><img decoding=\"async\" src=\"https:\/\/freelancehub.org\/wp-content\/uploads\/2018\/02\/xdownload-3-300x90.png\" height = \"90\" width=\"300\" border=\"0\" name=\"track tax calc logo\"><\/a><\/div>\n<\/div>\n\n\n\n <!-- \/container -->\n\n    <!-- Optional JavaScript -->\n    <!-- jQuery first, then Popper.js, then Bootstrap JS -->\n    <!-- script src=\"https:\/\/code.jquery.com\/jquery-3.2.1.slim.min.js\" integrity=\"sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr\/rE9\/Qpg6aAZGJwFDMVNA\/GpGFF93hXpG5KkN\" crossorigin=\"anonymous\"><\/script -->\n    <script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/popper.js\/1.11.0\/umd\/popper.min.js\" integrity=\"sha384-b\/U6ypiBEHpOf\/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4\" crossorigin=\"anonymous\"><\/script>\n    <script src=\"https:\/\/maxcdn.bootstrapcdn.com\/bootstrap\/4.0.0-beta\/js\/bootstrap.min.js\" integrity=\"sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1\" crossorigin=\"anonymous\"><\/script>\n    <!-- for formatting currency -->\n    <script src=\"https:\/\/save.j6labs.com\/js\/accounting.min.js\"><\/script>\n\n    <!-- Bootstrap core JavaScript\n    ================================================== -->\n    <!-- Placed at the end of the document so the pages load faster -->\n    <!-- IE10 viewport hack for Surface\/desktop Windows 8 bug -->\n    <script src=\"https:\/\/save.j6labs.com\/bootstrap\/assets\/js\/ie10-viewport-bug-workaround.js\"><\/script>\n\n\n<script type=\"text\/javascript\">\n\nfunction getParameterByName(name, url) {\n    if (!url) url = window.location.href;\n    name = name.replace(\/[\\[\\]]\/g, \"\\\\$&\");\n    var regex = new RegExp(\"[?&]\" + name + \"(=([^&#]*)|&|#|$)\"),\n        results = regex.exec(url);\n    if (!results) return null;\n    if (!results[2]) return '';\n    return decodeURIComponent(results[2].replace(\/\\+\/g, \" \"));\n}\n\nfunction calculateTaxRate(income) {\n  if (income <= 9325){\n    return .10;\n  }\n  else if (income <= 37950) {\n    var tax_amount = 932.50 + (.15 * (income - 9325));\n    return (tax_amount \/ income);\n  }\n  else if (income <= 91900) {\n    var tax_amount = 5226.25 + (.25 * (income - 37950));\n    return (tax_amount \/ income);\n  }\n  else if (income <= 191650) {\n    var tax_amount = 18713.75 + (.28 * (income - 91900));\n    return (tax_amount \/ income);\n  }\n  else if (income <= 416700) {\n    var tax_amount = 46643.75 + (.33 * (income - 191650));\n    return (tax_amount \/ income);\n  }\n  else if (income <= 418400) {\n    var tax_amount = 120910.25 + (.33 * (income - 416700));\n    return (tax_amount \/ income);\n  }\n  else {\n    var tax_amount = 121505.25 + (.25 * (income - 418400));\n    return (tax_amount \/ income);\n  }\n}\n\njQuery( document ).ready(function( $ ){\n\n  $(\"#calculateButton\").click(function(){\n    var sPayment = $('#incomeInput')[0].value;\n    var yearlyIncome = $('#incomeBracket')[0].value;\n    \/* converting the payment to float *\/\n    var fPayment = accounting.formatMoney(sPayment);\n    \/* $('#payment').html(fPayment); *\/\n    var selfEmpIncome = accounting.unformat(sPayment);\n    if (yearlyIncome >= 127200) {\n        var selfEmpTaxes = selfEmpIncome * 0.9235 * .029;\n        var taxes = selfEmpIncome * 0.9235 * (.029 + calculateTaxRate(yearlyIncome - (selfEmpTaxes\/2)));\n    }\n    else {\n        if ((yearlyIncome + selfEmpTaxes) > 127200){\n            var selfEmpIncomeBeyond = (yearlyIncome + selfEmpTaxes) - 127200;\n            var selfEmpIncomeBelow = selfEmpTaxes - selfEmpIncomeBeyond;\n            var beyondTaxes = selfEmpIncomeBeyond * 0.9235 * (.029 + calculateTaxRate(yearlyIncome - (selfEmpTaxes\/2)));\n            var belowTaxes = selfEmpIncomeBelow * 0.9235 * (.029 + .124 + calculateTaxRate(yearlyIncome - (selfEmpTaxes\/2)));\n            var taxes = beyondTaxes + belowTaxes;\n        }\n        else {\n            var selfEmpTaxes = selfEmpIncome * 0.9235 * .029 * .124;\n            var taxes = selfEmpIncome * 0.9235 * (.029 + .124 + calculateTaxRate(yearlyIncome - (selfEmpTaxes\/2)));\n        }\n    }\n    \/* var taxes = accounting.unformat(sPayment) * (.029 + .124 + calculateTaxRate(yearlyIncome)); *\/\n    $('#taxAmountContainer').show();\n    $('#taxes').html(accounting.formatMoney(taxes));\n\n\t\tga('send', 'event', 'taxes', accounting.formatMoney(taxes));\n    ga('send', 'event', 'self employment income', accounting.formatMoney(sPayment));                         \n    ga('send', 'event', 'total annual income', accounting.formatMoney(yearlyIncome));\n\t\t\t\t\n\t\t var trackUrl = new URL($(\".trackLink\")[0].href);                                                                trackUrl.searchParams.append(\"calc_result\", parseInt(taxes));\n\t\t trackUrl.searchParams.append(\"name\", getParameterByName(\"mo_name\"));\n\t\t trackUrl.searchParams.append(\"email\", getParameterByName(\"mo_email\"));\n     $(\".trackLink\").attr(\"href\", trackUrl);    \n  });\n\n});\n\n<\/script>\n\n<br>\nNote: This information may help you analyze your financial needs.  The calculations provided should not be construed as financial, legal or tax advice. In addition, such information should not be relied upon as the only source of information.\n<\/div><\/div><\/div><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Just because you work for yourself doesn\u2019t mean taxes should be hard.&nbsp; Calculate how much you owe in taxes in two easy steps! How much is your estimated annual income from Self Employment? Which range below does your total annual income from all sources fall into? 0 to $9325 $9,325 to $37,950 $37,950 to $91,900&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-321","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/freelancehub.org\/index.php\/wp-json\/wp\/v2\/pages\/321","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/freelancehub.org\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/freelancehub.org\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/freelancehub.org\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/freelancehub.org\/index.php\/wp-json\/wp\/v2\/comments?post=321"}],"version-history":[{"count":111,"href":"https:\/\/freelancehub.org\/index.php\/wp-json\/wp\/v2\/pages\/321\/revisions"}],"predecessor-version":[{"id":771,"href":"https:\/\/freelancehub.org\/index.php\/wp-json\/wp\/v2\/pages\/321\/revisions\/771"}],"wp:attachment":[{"href":"https:\/\/freelancehub.org\/index.php\/wp-json\/wp\/v2\/media?parent=321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}