Skip to contents

Calculate monthly cost of a house

Usage

monthly_cost(
  house_value = 20 * 10000,
  house_assessed_value = 15 * 1e+06,
  mil_rate = 2.5/100,
  one_time_fee = 1000,
  monthly_hoa_fee = 150,
  monthly_home_insurance = 150,
  monthly_utility_fee = 300,
  closing_fee = 0,
  year = 5,
  saving_rate = 0.03,
  down_payment_rate = 0.2,
  mortgage_rate = 0.0375,
  morrgage_year = 30
)

Arguments

house_value

house value

house_assessed_value

house value to calculate the property tax

mil_rate

annual property tax rate, which is the multiplier of the house_assessed_value to get the annual property tax

one_time_fee

one time fee, e.g., points fee

monthly_hoa_fee

monthly HOA fee

monthly_home_insurance

monthly home insurance fee

monthly_utility_fee

monthly utility fee

closing_fee

closing fee

year

number of years for invest this house

saving_rate

saving rate, which is potential loss of the down payment

down_payment_rate

down payment

mortgage_rate

annual mortgage rate

morrgage_year

mortgage years