<p>Use this calculator to work out if you would be better off by running your business through a Limited Company.</p>
<form class="calculator" id="incorporation">
	<p>Entries are based on one Partner or Sole Trader</p>
	<p><label for="B3">Annual Taxable Profits of Sole Trader or one Partner (£)</label><input id="B3" type="number" step="0.01" value="0"/></p>
	<p><label for="B4">Number of partners <small>(enter 1 for sole trader)</small></label><input id="B4" type="number" step="1" value="1"/></p>
	<p><label for="B5">Salary to be taken from company (£)<br /><small>The optimum salary for most small businesses is often to keep the salary below the level at which National Insurance becomes payable.</small></label><input id="B5" type="number" step="0.01" value="11850"/></p>
   	<fieldset>
    	<legend>Optional Entries to get a more accurate result</legend>
		<p><label for="B7">Private expenses (£)<br />
   			<small>E.g. fuel, telephone - expenses that are not tax deductible for a Sole Trader or Partnership but are for a Company.</small></label>
   			<input id="B7" type="number" step="0.01" value="0" />
   		</p>
		<p><label for="B8">Benefits in kind (£)<br />
	   		<small>Benefits that may arise from having a company (e.g. car and fuel benefit)</small></label>
	   		<input id="B8" type="number" step="0.01" value="0" />
		</p>
		<p><label for="B9">Number of Associated Companies<br />
			<small>Companies under your control NOT including this one</small></label>
			<input id="B9" type="number" step="1" value="0" />
		</p>
	</fieldset>
    <fieldset>
    	<legend>Results if a Sole Trader or Partner</legend>
		<p><label for="RProfits">Profits (£)</label><input id="RProfits" value="0" readonly/>
		<p><label for="RIncomeTax">Income Tax (£)</label><input id="RIncomeTax" value="0" readonly/>
		<p><label for="rNIClass4">Class 4 National Insurance (£)</label><input id="rNIClass4" value="0" readonly/>
		<p><label for="rNIClass2">Class 2 National Insurance (£)</label><input id="rNIClass2" value="0" readonly/>
		<p><label for="RnetIncome">Net Income (£)</label><input id="RnetIncome" value="0" readonly/>
	</fieldset>
    <fieldset>
    	<legend>Results if a Limited Company</legend>
		<p><label for="RProfitsLTD">Profits (£)</label><input id="RProfitsLTD" value="0" readonly/>
		<p><label for="RSalaryLTD">Salary (£)</label><input id="RSalaryLTD" value="0" readonly/>
		<p><label for="REmployersNI">Employers NI on salary and benefits (£)</label><input id="REmployersNI" value="0" readonly/>
		<p><label for="RCorporationTax">Corporation Tax (£)</label><input id="RCorporationTax" value="0" readonly/>
		<p><label for="RAvaliDividend">Available for Dividend (£)</label><input id="RAvaliDividend" value="0" readonly/>
		<p><label for="RSalaryLTD2">Salary (£)</label><input id="RSalaryLTD2" value="0" readonly/>
		<p><label for="RIncomeTaxSBD">Income Tax on salary, benefits and dividends (£)</label><input id="RIncomeTaxSBD" value="0" readonly/>
		<p><label for="REmployeesNI">Employees NI (£)</label><input id="REmployeesNI" value="0" readonly/>
		<p><label for="RNetIncome">Net Income (£)</label><input id="RNetIncome" value="0" readonly/>
		<p><label for="RExtraIncomeByIncorporating">Extra Income By Incorporating (£)</label><input id="RExtraIncomeByIncorporating" value="0" readonly/>
		<p><label for="RExtraIncomeByNoDividends">Extra savings possible (£)<br /><small>Extra savings possible by not extracting dividends that put your income above the basic rate tax band.</small>.</label><input id="RExtraIncomeByNoDividends" value="0" readonly/>
		<p><label for="RTotalPossibleSavings">Total possible savings (£)</label><input id="RTotalPossibleSavings" value="0" readonly/>
	</fieldset>
	<p><input id="submit" type="submit" value="Calculate"/><input id="reset" type="reset"/></p>
</form>
<p>It is assumed all partners share equally in the profits, are liable to pay NI and would not be contracted out, have the same tax position and there is no other taxable income or tax deductible allowances apart from the basic personal allowance.</p>
<p>This calculator can only give a guide to potential savings but cannot cater for all situations. You must consult an accountant for specific advice in your own circumstances before taking any action.</p>
<p>There are also may other factors to take into account before deciding to incorporate, although tax savings are often an important consideration.</p>
<script>
!function(){"use strict";var ia=function(a){return document.getElementById(a)};ia("incorporation").addEventListener("submit",function(a){var e=11850,t=1e5,i=34500,n=115500,o=8424,l=46350,m=8424,u=37960,v=3e5,x=15e5,d=+ia("B3").value,h=+ia("B4").value,M=+ia("B5").value,r=+ia("B7").value,F=+ia("B8").value,s=+ia("B9").value,R=8424<M+F?.138*(M+F-8424):0,c=d-r-M-R,I=c*h,B=(I<v/(s+1)?Math.max(.19*I,0):v/(s+1)*.19)+(I<v/(s+1)?0:Math.min(.19*(x/(Q+1)-v/(s+1)),.19*(I-v/(s+1))))+(x/(s+1)<I?.19*(I-x/(s+1)):0),y=c-B/h,D=10*y/9+M+F,T=D<t?e:2*e<D-t?0:e-.5*(D-t),f=(0<M-m?Math.min(.12*u,.12*(M-m)):0)+(0<M-m-u?.02*(M-m-u):0),p=M+8,E=Math.min(p,T),N=p-E,L=.2*Math.min(N,i),S=N-Math.min(N,i),g=.4*Math.min(S,n),C=.45*(S-Math.min(S,n)),P=Math.max(y,0),b=T-E,A=P-Math.min(P,b),j=Math.min(A,5e3),k=A-j,q=i-Math.min(N,i)-j,w=Math.max(q,0),z=.075*Math.min(k,w),G=k-Math.min(k,w),H=n-Math.min(S,n)+Math.min(q,0),J=Math.max(H,0),K=g+.325*Math.min(G,J),O=C+.381*(G-Math.min(G,J)),Q=L+z+K+O,U=d+-(d<t?e:2*e<d-t?0:e-.02*(d-.12)),V=.2*(0<U?Math.min(i,U):0)+(n<U-i?.4*n:Math.max(0,.4*(U-i)))+(0<U-i-n?.45*(U-i-n):0),W=(o<d?.09*Math.min(d-o,l-o):0)+(l<d?.02*(d-l):0),X=6025<d?153.4:0,Y=d-V-W-X,Z=B/h,$=d-M-R-Z,_=$+M-Q-f,aa=_-Y,ea=K+O-(0<M+F-e-i?.4*(M+F-e-i):0),ta=aa+ea;ia("RProfits").value=d.toFixed(2),ia("RIncomeTax").value=V.toFixed(2),ia("rNIClass4").value=W.toFixed(2),ia("rNIClass2").value=X.toFixed(2),ia("RnetIncome").value=Y.toFixed(2),ia("RProfitsLTD").value=d.toFixed(2),ia("RSalaryLTD").value=M.toFixed(2),ia("REmployersNI").value=R.toFixed(2),ia("RCorporationTax").value=Z.toFixed(2),ia("RAvaliDividend").value=$.toFixed(2),ia("RSalaryLTD2").value=M.toFixed(2),ia("RIncomeTaxSBD").value=Q.toFixed(2),ia("REmployeesNI").value=f.toFixed(2),ia("RNetIncome").value=_.toFixed(2),ia("RExtraIncomeByIncorporating").value=aa.toFixed(2),ia("RExtraIncomeByNoDividends").value=ea.toFixed(2),ia("RTotalPossibleSavings").value=ta.toFixed(2),a.preventDefault()})}();
<?php /*
(function() {
  'use strict';
	var $ = function(i){return document.getElementById(i);};
	$('incorporation').addEventListener('submit',function(e){
		var B38=11850, // Personal Allowance
			B39=100000, // Personal Allowance Income Limit for Withdrawal
			B40=0.5, // Personal Allowace reduction fraction
			B41=34500, // Lower tax band
			B42=0.2, // Lower rate tax
			B43=115500, // Middle tax band
			B44=0.4, // Middle rate tax
			B45=0.45, // Higher rate tax
			B46=8424, // Class 4 NI lower limit
			B47=0.09, // NI rate
			B48=46350, // Class 4 NI higher limit
			B49=0.02, // Higher limit rate
			B50=153.4, // Yearly Class 2
			B51=6025, // Class 2 Small Earnings Exemption
			B52=8424, // Ees NI Lower Limit
			B53=37960, // Ees NI Middle Band
			B54=0.12, // Ees NI Middle Rate
			B55=0.02, // Ees NI Higher Rate
			B56=8424, // Ers NI Lower Limit
			B57=0.138, // Ers NI Rate
			B58=300000, // Corporation Tax Lower Limit
			B59=1500000, // Marginal relief limit
			B60=0.19, // Small companies rate
			B61=0.19, // Effective marginal rate
			B62=0.19, // Full rate
			B63=5000, // Dividends allowance band
			B65=0.075, // Lower rate tax on dividends
			B66=0.325, // Higher rate Tax on dividends
			B67=0.381, // Extra higher rate tax on dividends
			B3=+$('B3').value,
			B4=+$('B4').value,
			B5=+$('B5').value,
			B7=+$('B7').value,
			B8=+$('B8').value,
			B9=+$('B9').value,
			B73=(B5+B8)>B56?(B5+B8-B56)*B57:0,
			B74=B3-B7-B5-B73,
			B76=B74*B4,
			B78=B76<(B58/(B9+1))?Math.max((B76*B60),0):((B58/(B9+1))*B60),
			B79=(B76<(B58/(B9+1))?0:Math.min( ((B59/(E89+1))-(B58/(B9+1)))*B61,(B76-(B58/(B9+1)))*B61)),
			B80=B76>(B59/(B9+1))?(B76-(B59/(B9+1)))*B62:0,
			B81=B78+B79+B80,
			B82=B74-(B81/B4),
			B83=(B82*10/9)+B5+B8,
			B84=B83<B39?B38:(B83-B39)>((1/B40)*B38)?0:(B38-((B83-B39)*B40)),
			B86=(B5-B52)>0?Math.min((B53*B54),(B5-B52)*B54):0,
			B87=(B5-B52-B53)>0?(B5-B52-B53)*B55:0,
			B88=B86+B87,
			F73=B5+8,
			F77=Math.min(F73,B84),
			F79=F73-F77,
			H83=Math.min(F79,B41)*B42,
			F85=F79-Math.min(F79,B41),
			H89=Math.min(F85,B43)*B44,
			H91=(F85-Math.min(F85,B43))*B45,
			K73=Math.max(B82,0),
			K75=B84-F77,
			K77=Math.min(K73,K75),
			K79=K73-K77,
			K83=Math.min(K79,B63),
			K85=K79-K83,
			K87=B41-Math.min(F79,B41)-K83,
			M87=Math.max(K87,0),
			M89=Math.min(K85, M87)*B65,
			K91=K85-Math.min(K85, M87),
			K93=B43-Math.min(F85,B43)+Math.min(K87,0),
			M93=Math.max(K93,0),
			M95=Math.min(K91,M93)*B66,
			M97=(K91-Math.min(K91,M93))*B67,
			E86=H83+M89,
			E87=H89+M95,
			E88=H91+M97,
			E89=E86+E87+E88,
			B96= -(B3<B39?B38:(B3-B39)>((1/B40)*B38)?0:(B38-((B3-B54)*B55))),
			B94=B3+B96,
			B98=(B94>0?Math.min(B41,B94):0)*B42,
			B99=(B94-B41)>B43?(B43*B44):Math.max(0,(B94-B41)*B44),
			B100=(B94-B41-B43)>0?(B94-B41-B43)*B45:0,
			B101=B98+B99+B100,
			B102=B3>B46?Math.min((B3-B46),(B48-B46))*B47:0,
			B103=B3>B48?(B3-B48)*B49:0,
			B104=B102+B103,
			B105=B3>B51?B50:0,
			D1=B3-B101-B104-B105,
			D2=(B81/B4),
			D3=B3-B5-B73-D2,
			D4=D3+B5-E89-B88,
			D5=D4-D1,
			D6=(E87+E88)-((B5+B8-B38-B41)>0?(B5+B8-B38-B41)*B44:0),
			D7=D5+D6;
		$('RProfits').value=B3.toFixed(2);
		$('RIncomeTax').value=B101.toFixed(2);
		$('rNIClass4').value=B104.toFixed(2);
		$('rNIClass2').value=B105.toFixed(2);
		$('RnetIncome').value=D1.toFixed(2);
		$('RProfitsLTD').value=B3.toFixed(2);
		$('RSalaryLTD').value=B5.toFixed(2);
		$('REmployersNI').value=B73.toFixed(2);
		$('RCorporationTax').value=D2.toFixed(2);
		$('RAvaliDividend').value=D3.toFixed(2);
		$('RSalaryLTD2').value=B5.toFixed(2);
		$('RIncomeTaxSBD').value=E89.toFixed(2);
		$('REmployeesNI').value=B88.toFixed(2);
		$('RNetIncome').value=D4.toFixed(2);
		$('RExtraIncomeByIncorporating').value=D5.toFixed(2);
		$('RExtraIncomeByNoDividends').value=D6.toFixed(2);
		$('RTotalPossibleSavings').value=D7.toFixed(2);
		e.preventDefault();
	});
})();
*/ ?>
</script>