File:UK tax NIC pounds.svg
מתוך Wikimedia Commons
קפיצה לניווט
קפיצה לחיפוש
גודל התצוגה המקדימה הזאת מסוג PNG של קובץ ה־SVG הזה: 512 × 384 פיקסלים. רזולוציות אחרות: 320 × 240 פיקסלים | 640 × 480 פיקסלים | 1,024 × 768 פיקסלים | 1,280 × 960 פיקסלים | 2,560 × 1,920 פיקסלים.
לקובץ המקורי (קובץ SVG, הגודל המקורי: 512 × 384 פיקסלים, גודל הקובץ: 282 ק"ב)
מידע על הקובץ
נתונים מובְנים
כיתובים
תוכן עניינים
תקציר
[עריכה]תיאורUK tax NIC pounds.svg |
English: Charges to w:UK income tax and w:National Insurance in pounds for the tax year 6 April 2010 thru 5 April 2011. This takes account only of straightforward income tax and Class I employee NICs without contracted-out pension contributions.
Made in w:MATLAB and finished with w:Inkscape. See below for MATLAB source. According to w:HMRC, the tax and National Insurance rates and allowances for 2010/11 are [1]:
|
תאריך יצירה | |
מקור | נוצר על־ידי מעלה היצירה |
יוצר | Splash |
אישורים והיתרים (שימוש חוזר בקובץ זה) |
See below. Licensing choices are applicable to both image and MATLAB source code. |
SVGהתפתחות InfoField | MATLAB עם נוצרה ה גרפיקה וקטורית |
קוד מקור InfoField | MATLAB codefunction [it_pounds, it_pct, nic_pounds, nic_pct, total_pounds, total_pct, takehome_pounds] = tax(gross, tax_rates, tax_widths, claw_start, claw_rate, nic_rates, nic_widths, plot_all)
%TAX: Compute the pounds and percentage cost of taxable pay of income tax
%and National Insurance. (Or just tax in places without NI).
%
%[it_pounds it_pct nic_pounds nic_pct total_pounds total_pct takehome_pounds] = tax(gross, tax_rates, tax_widths, nic_rates, nic_widths, plot_all)
%
%Inputs:
% GROSS: Vector of taxable pay amounts to compute all outputs for.
% TAX_RATES: Percentages of tax rates matching entries in tax_widths.
% TAX_WIDTHS: Width in pounds of each tax band, ended by Inf. NOT the
% income levels at which they begin to apply. For example, for 2007-08:
%
% Personal allowance, or 0% band = £5225.
% 10% band = First £2230 taxable = £2230 in width.
% 22% band = £2230 - £34600 taxable = £32370 in width.
% 40% band = £34600 - (unlimited) taxable = £Inf in width.
%
% Therefore, tax_rates and tax_widths are set up as follows:
%
% TAX_RATES = [ 0 10 22 40];
% TAX_WIDTHS = [5225 2230 32370 Inf];
%
% CLAW_START: Value of GROSS at which the clawback of personal allowance
% starts.
% CLAW_RATE: A 2-vector, [PER STEP], where PER is the clawback for each
% increment in GROSS of STEP. E.g. a clawback of £1 for every £2 of GROSS
% is expressed as CLAW_RATE = [1 2].
%
% NIC_RATES: As TAX_RATES. (Omit if no NIC-equivalent needed).
% NIC_WIDTHS: As TAX_WIDTHS. (Omit if no NIC-equivalent needed).
% PLOT_ALL : Single boolean true/false whether to draw the output plot.
%
%Outputs:
% These all have obvious names, and each produce a vector with entries
% corresponding to the entries of input GROSS.
for g = 1:length(gross)
it_pounds(g) = tax_calc(gross(g), tax_rates, tax_widths, claw_start, claw_rate);
it_pct(g) = 100*it_pounds(g)/gross(g);
nic_pounds(g) = tax_calc(gross(g), nic_rates, nic_widths);
nic_pct(g) = 100*nic_pounds(g)/gross(g);
total_pounds(g) = it_pounds(g) + nic_pounds(g);
total_pct(g) = 100*total_pounds(g)/gross(g);
takehome_pounds(g) = gross(g) - total_pounds(g);
end
if exist('plot_all', 'var') && plot_all
%Plots for amounts in pounds
figure;
plot(gross, it_pounds, 'b', gross, nic_pounds, 'r', gross, total_pounds, 'm', gross, takehome_pounds, 'g');
set(get(gca, 'Children'), 'LineWidth',2);
set(gca, 'XMinorTick', 'off', 'YMinorTick', 'on');
legend('Income tax', 'National insurance', 'Combined', 'Take home');
xlabel('Annual taxable pay, GBP');
ylabel('Annual amount, GBP');
grid on;
%Plots for percentages
figure;
plot(gross, it_pct, 'b', gross, nic_pct, 'r', gross, total_pct, 'm');
set(get(gca, 'Children'), 'LineWidth',2);
set(gca, 'XMinorTick', 'off', 'YMinorTick', 'on');
legend('Income tax', 'National insurance', 'Combined');
xlabel('Annual taxable pay, GBP');
ylabel('Percentage of taxable pay');
grid on;
end
%%%%Calculation engine%%%%
function total_tax = tax_calc(gross, rates, widths, claw_start, claw_rate)
tax_band = 1;
income_left = gross;
total_tax = 0;
%Clawback if necessary
if exist('claw_start', 'var') && exist('claw_rate', 'var')
widths(1) = clawback(gross, claw_start, claw_rate, widths(1));
end
while tax_band <= length(widths) && income_left > 0
taxable_this_band = min([widths(tax_band) income_left]);
total_tax = total_tax + taxable_this_band*rates(tax_band)/100;
income_left = income_left - taxable_this_band;
tax_band = tax_band + 1;
end
function new_limit = clawback(gross, claw_start, claw_rate, initial_limit)
%GROSS: Vector of taxable pay amounts to compute all outputs for.
%CLAW_START: Values of GROSS at which the clawback starts
%CLAW_RATE: A 2-vector, [PER STEP], where PER is the clawback for each
%increment in GROSS of STEP. E.g. a clawback of £1 for every £2 of GROSS
%is expressed as CLAW_RATE = [1 2].
%INITIAL_LIMIT: The un-clawedback value to begin with.
%
%NEW_LIMIT is the clawed-back value of INITIAL_LIMIT.
claw_length = max(gross - claw_start, 0);
claw = claw_rate(1) * floor(claw_length/claw_rate(2));
new_limit = max(initial_limit - claw, 0);
</syntaxhighlight>
;For the 20010-11 tax year:
<syntaxhighlight lang="matlab">
tax_rates = [0 20 40 50];
tax_widths = [6475 37400 112600 Inf];
claw_start = 100000;
claw_rate = [1 2];
nic_rates = [0 11 1];
nic_widths = [110*52 (844-110)*52 Inf];
|
רישיון
[עריכה]The following choices of licensing apply to both the image and also the MATLAB code presented above.
אני, בעל זכויות היוצרים על היצירה הזאת, מפרסם אותה בזאת תחת הרישיונות הבאים:
הקובץ הזה מתפרסם לפי תנאי רישיונות קריאייטיב קומונז ייחוס-שיתוף זהה 3.0 לא מותאם, 2.5 כללי, 2.0 כללי ו־1.0 כללי.
- הנכם רשאים:
- לשתף – להעתיק, להפיץ ולהעביר את העבודה
- לערבב בין עבודות – להתאים את העבודה
- תחת התנאים הבאים:
- ייחוס – יש לתת ייחוס הולם, לתת קישור לרישיון, ולציין אם נעשו שינויים. אפשר לעשות את זה בכל צורה סבירה, אבל לא בשום צורה שמשתמע ממנה שמעניק הרישיון תומך בך או בשימוש שלך.
- שיתוף זהה – אם תיצרו רמיקס, תשנו, או תבנו על החומר, חובה עליכם להפיץ את התרומות שלך לפי תנאי רישיון זהה או תואם למקור.
מוענקת בכך הרשות להעתיק, להפיץ או לשנות את המסמך הזה, לפי תנאי הרישיון לשימוש חופשי במסמכים של גנו, גרסה 1.2 או כל גרסה מאוחרת יותר שתפורסם על־ידי המוסד לתוכנה חופשית; ללא פרקים קבועים, ללא טקסט עטיפה קדמית וללא טקסט עטיפה אחורית. עותק של הרישיון כלול בפרק שכותרתו הרישיון לשימוש חופשי במסמכים של גנו.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
הנכם מוזמנים לבחור את הרישיון הרצוי בעיניכם.
See also
[עריכה]היסטוריית הקובץ
ניתן ללחוץ על תאריך/שעה כדי לראות את הקובץ כפי שנראה באותו זמן.
תאריך/שעה | תמונה ממוזערת | ממדים | משתמש | הערה | |
---|---|---|---|---|---|
נוכחית | 00:24, 2 במאי 2010 | 384 × 512 (282 ק"ב) | Splash (שיחה | תרומות) | updated version for tax year 2010-11 | |
10:42, 27 באפריל 2009 | 383 × 522 (67 ק"ב) | Splash (שיחה | תרומות) | corrected version of 2009-10 | ||
23:29, 26 באפריל 2009 | 381 × 520 (66 ק"ב) | Splash (שיחה | תרומות) | updated for tax year 2009-10 | ||
23:27, 26 באפריל 2009 | 396 × 530 (58 ק"ב) | Splash (שיחה | תרומות) | revision for change to income tax rates announced post-Budget by Chancellor, and backdated to start of tax year for pay dates from 7 Sep 08. | ||
23:25, 26 באפריל 2009 | 394 × 532 (57 ק"ב) | Splash (שיחה | תרומות) | {{Information |Description={{en|1=Tax+NIC pounds for 2008-9. This file will hold versions for future years also.}} |Source=Own work by uploader |Author=Splash |Date=2008-05-16 |Permission= |other_versions= }} <!--{{ImageUpload|full}}--> [ |
אין באפשרותך לדרוס את הקובץ הזה.
שימוש בקובץ
אין דפים המשתמשים בקובץ זה.
שימוש גלובלי בקובץ
אתרי הוויקי השונים הבאים משתמשים בקובץ זה:
- שימוש באתר de.wikipedia.org
- שימוש באתר en.wikipedia.org
- שימוש באתר it.wikipedia.org