Code Monkey home page Code Monkey logo

buy-vs-rent-calculator's Introduction

Buy vs Rent Calculator for Kiwis ๐Ÿฅ

This tool can provide a transparent & helpful financial perspective to help guide your decision-making process when considering buying versus renting a house in New Zealand.

Dependencies

This script requires Python 3 and the following packages:

pip install numpy numpy-financial argparse

Usage

To run the script, you need to provide several arguments detailing your current savings, house purchase price, and weekly rental price. There are also numerous optional arguments to better tailor the calculations to your specific situation.

Required Arguments

--current-savings: Your current savings in NZD.
--house-purchase-price: The purchase price of the house in NZD.
--rental-price: The weekly rental price in NZD.

Optional Arguments

--minimum-deposit: The minimum deposit percentage required to buy a house (default: 20%).
--transfer-cost: Costs associated with transferring the house, such as legal fees (default: 1500 NZD).
--house-insurance: Annual house insurance cost in NZD (default: 1000).
--house-maintenance: Annual house maintenance cost in NZD (default: 1000).
--house-rates: Annual house rates in NZD (default: 2000).
--rental-increase: Annual percentage increase in rental price (default: 4%).
--mortgage-interest-rate: Annual mortgage interest rate (default: 4.79%).
--savings-interest-rate: Annual savings interest rate (default: 6%).
--savings-interest-tax: Tax rate for savings interest (default: 33%).
--capital-gains-rate: Annual capital gains rate on the value of the house (default: 2%).
--capital-gains-tax: Tax rate for capital gains (default: 0%).
--boarders-contributions: Weekly contributions from boarders in NZD (default: 0).
--boarders-contributions-tax: Tax rate for boarders' contributions (default: 0%).
--period-years: Number of years to compare in the scenario (default: 30).

Example Command

python3 buy_vs_rent.py --current-savings 160000 --house-purchase-price 800000 --rental-price 400

buy-vs-rent-calculator's People

Contributors

davidirobinson avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.