Browse Source

correct Income Tax calculation error in spare-room-manchester.org.

master
Craig Oates 2 months ago
parent
commit
3b1016f8af
  1. 20
      spare-room-manchester.org

20
spare-room-manchester.org

@ -138,7 +138,7 @@ pricing, location etc. data.
(incf counter)))))))
#+end_src
** Create CSV of Listings
* Create CSV of Listings
#+begin_src lisp :results silent
(with-open-file (out-stream
@ -423,7 +423,7 @@ barely passes the Personal Allowance band (Income Tax).
(let* ((earning-target 12100)
(p-allow 12570)
(taxable-income (- p-allow earning-target))
(income-after-tax (* taxable-income 0.8))
(income-after-tax (* taxable-income 0.2))
(total (- earning-target income-after-tax)))
(format t "- Annual Target Salary: £~a~%" earning-target)
(format t "- Part of Salary which is Taxable: £~a~%" taxable-income)
@ -434,19 +434,19 @@ barely passes the Personal Allowance band (Income Tax).
#+RESULTS:
- Annual Target Salary: £12100
- Part of Salary which is Taxable: £470
- After Tax Deducted: £376.0
- Salary After Tax: £11724.0
- After Tax Deducted: £94.0
- Salary After Tax: £12006.0
| Time Span | Value After Tax (£) | Mean Rent (£) |
|-----------------------+---------------------+---------------|
| Annually | 11724 | 589.24 |
| Monthly (Before Rent) | 977 | |
| Monthly (After Rent) | 387.76 | |
| Weekly (After Rent) | 96.94 | |
| Daily (After Rent) | 13.848571 | |
| Annually | 12006 | 589.24 |
| Monthly (Before Rent) | 1000.5 | |
| Monthly (After Rent) | 411.26 | |
| Weekly (After Rent) | 102.815 | |
| Daily (After Rent) | 14.687857 | |
#+TBLFM: @3$2=@-1/12::@4$2=@-1-@-2$+1::@5$2=@-1/4::@6$2=@-1/7
The recalculation, with Income Tax, changes my spend limit to £13.85/day. It's
The recalculation, with Income Tax, changes my spend limit to £14.68/day. It's
not a massive drop from £14.96, but it's not helping the situation. I should
point out here, these figures use the bare minimum salary target (I've set for
myself) of £12,100. Realistically, I'm going have to go with the £13,000 I

Loading…
Cancel
Save