Giter VIP home page Giter VIP logo

mortgage-refinancer's Introduction

Mortgage Refinancer

Calculate refinancing of fixed Danish mortgages with and without "instalments"/afdrag.

Use on desktop, there's a lot of tables and numbers. https://mathiastj.github.io/mortgage-refinancer/

To see an example of converting up from 1% to 4% interest check: https://mathiastj.github.io/mortgage-refinancer/?example=1

To see an example of converting down from 4% to 2% interest check: https://mathiastj.github.io/mortgage-refinancer/?example=2

Motivation

I wanted to calculate the breakeven point of refinancing my mortgage. The Totalkredit app has a calculator, but it doesn't take into account the extra 8% tax deduction of interest payments up to 50k/100k. The loan offers sent from my bank did not take this into account either.

I started out with an Excel sheet, but figured this would be a fun little project, and I also think it gives a better overview.

Technical motivation

I wanted to try out React Hooks and Tailwind CSS with a Next.js setup.

Features

  • Correctly use the 8% extra tax deduction on interest and "bidrag" payments. Takes into account whether the mortgage is financed by a single person or a couple.
  • To correctly calculate the 8% extra tax deduction it's possible for the user to enter their other interest payments per year.
  • Choose municipality for correct municipality and church tax.
  • Shows breakeven point in years of when the principal of the new loan exceeds that of the old.
  • Shows breakeven point of when monthly payments after taxes in total for the new loan have exceeded that of the old.
  • Shows breakeven point of when monthly payments after taxes for the new loan have exceeded that of the old for a year.
  • Automatically calculates "bidragssats" (extra charges) for the new loan, based on estimated price of the house and the new loan amount.
  • Show the price with or without "kundekroner", a discount on the "bidragssats" (extra charges).
  • Easily compare old and new loan in two tables next to each other.
  • Switch from an instalment free loan to one with instalments, or the other way around.
  • Select mortgage institute from the 4 large Danish providers for the new loan. Makes it easy to compare the "bidragssats" (extra charges) between the institutes.

Here's a screenshot from desktop: image

mortgage-refinancer's People

Contributors

mathiastj avatar sobuno 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.