By gward789 on
We are in the need of a Mortgage Calculator for our Drupal based enterprise wide real estate website, still in development. If anyone has coded a php mortgage calculator that would seemlessly integrate into our drupal site we would be interested.
We would also be willing to pay for someone to code one for us.
Comments
I have developed a loan
I have developed a loan calculator (which calculates the amount of interest, the monthly payment, and the total amount to be lent), but it doesn't show things like percentage of interest and principle for each monthly payment. It requests the following from users: down payment, loan amount, interest amount, and loan term (in months). I have not developed a version for Drupal, nor do I plan on it. I would, however, be willing to give the formula to a Drupal developer for them to use. The formula is used by most banking institutions. This is the formula:
l=loan amount
i=interest
d=down payment
t=term (in months)
AVERAGE BALANCE: l-d*.54
WITH INTEREST: AVG_BAL*(i/100)*(t/12)
TOTAL AMOUNT: (l-d)+WITH_INTEREST
MONTHLY: TOTAL_AMT/t
In unprotected PHP, that would look like:
if
$_POST['amt'] was the AMOUNT field
$_POST['dp'] was the DOWN PAYMENT field
$_POST['apr'] was the INTEREST field
$_POST['loanlength'] was the LENGTH in MONTHS
Thanks,
Arthur
I'm in the process of
I'm in the process of creating one right now and it'll be made free to the drupal community. What are your requirements?
cheers
-----------------------------------------
http://www.netrift.com
http://rlisting.netriftsolutions.com - Drupal Real Estate Module for Drupal 5
http://ulisting.netriftsolutions.com - Drupal Real Estate Module for Drupal 6
A very basic mortgage
A very basic mortgage calculator can be downloaded here for free : http://www.netrift.com/product/uListingMC
cheers
-----------------------------------------
http://www.netrift.com - Custom modules
http://ulisting.netriftsolutions.com - Drupal Real Estate Module for Drupal 6
http://drupal.org/project/friend - Social Neworking for Drupal 6
Works very well, thanks for
Works very well, thanks for posting
_
thanks - great little module
Ulisting MC module in a block
Dear Aaron,
I've installed your mortage calculator and It's just what I'm looking for. More so because you seem to be the only one to have developed a module like this in Drupal.
For my project I need to put your calculator in a block to be shown on particular nodes of my site.
I.e. the calculator has to be a teaser in on some of the pages to show the clients visiting the site how interesting the product is by simulating a loan application and subsequently stimulate them to make a loan inquiry through a form on the site.
I tried using modules like 'node as a block', 'node in a block' and 'views' to try and achieve this but since your module is not a node it does not show up anywhere.
Any clue as to how I can achieve this?
I don't know if I can post this as a feature request or, since you work on a commercial basis, I can ask you customize you module for me- in this case I’ll contact you privately through your website.
Thanks,
Friso
More Calculators
I have several calculators on www.MortgageRiot.com, all for Drupal. If you see any that you like, let me know and I'll provide the code.
missing drupal modules?
I think what misses is a Drupal "Calculate API" module, that should be basic for eventual add-on modules, like mortgage, scientific, administration, spreadsheet, financial reports, etcetera??!
I'm interested
I would definitely appreciate using your affordability calculator Can you release the module on Drupal.org or else supply the files/code?
Thank you!
Affordability Calc
Tried to attach to save space, but it doesn't allow attachments.
Paste this right into the box of the page and you should be good to go.
PS: Any credit to MortgageRiot is appreciated.
thanks for the generous
thanks for the generous donation.
I am just playing around with this Affordability Calculator and have a question about the Monthly Obligations - $. It seems that 1000 is okay - after that the reslut goes to 0.
1. What are the "Monthly Obligations - $" - what should go in there and how high could it be before the is no money left to buy a house?
2. I add the following to illustrate:
Enter Data Here
Monthly Income - $ 5000
Monthly Obligations - $ 1000
Down Payment - % 20
Closing Costs - % 3
Buyer(s) Available Cash Funds
Savings & Cash - $ 0
Taxes and Insurance
Annual Property Tax - % 1.2
Annual Hazard Insurance- % 0.3
Annual Condo Fee - $ 3600
Loan Parameters
Annual Interest Rate - % 6
Loan Term in years 30
With this I get:
Maximum Mortgage Amount $79386
Down Payment $19846
Property Sales Price $99232
Closing Costs $2977
Down Payment & Closing Costs $22823
Funds Surplus / Shortage (-) $-22823
Monthly Loan Payment $476
Monthly Property Tax $99
Monthly Hazard Insurance $25
Monthly Condo Fee $300
Monthly PMI Insurance $0
Monthly Housing Expense $900
Now - if I increase Monthly Obligations - $ 2000
The result goes to 0 - is that correct? And why?
I will need later to change a few things incl. Currency - probably to neutral and the terms to more UK / European vocabulary - reference to MortgageRiot - is no problem - thanks .....
Monthly Obligations
The monthly obligation is the the current debt load - car payments, credit cards, etc. The US standard rule of thumb is that no more than 30% of your monthly income should go towards outstanding debt (called the DTI or debt to income ratio). Other loans are done, obviously given the current state of things, but they require a little more thinking.
5000 - 2000 = 3000/month, less 300 for the condo fee leaves the client with less than enough to service the debt load of any home.
_
Thanks - well explained - and they should have thought about this before 2008 and imposed this on the banks world wide.
See for changes and amendments done to suite our site better - http://www.mallsandmore.com/en/retail-mall-shopping-center/affordability... for the changes and reference to your site.
One question - would it be easy to add points to separate larger numbers - i.e. 1000000 = 1.000.000? What would by the syntax?
Thanks a lot !!!!!
Thanks buddy
Thanks Buddy,
The code works perfect as i was searching.
Great work man.
amortization calculator
Hi,
Please provide the amortization calculator. I need to make a few adjustments to it as I am not dealing with standard loans, but I am sure it could be helpful.
Thank you,
Andrei
Mortgage Calculators
I know this thread is really old but I came across this page and seeing your calculators on MortgageRiot I was wondering if you would still be willing to share the code to your calculators or if there was an official drupal module or release of these calculators someplace on the web.
Thank you so much for your help.
Payment Calculator
Are you able to provide me with the code for the payment calculator please?
Several calculators available
There are quite a few financial calculator widgets available at this website. I was able to customize the colours to suit my site and then just paste the code they provided into a block (300px wide) -- they seem to work pretty well.
http://www.dollartimes.com/calculators/on-your-site/all-calculators.htm
Use calculation/presentation API first, then ...
http://drupal.org/project/views_calc - "Views Calc" simple calculations to views table; SUM, AVERAGE, COUNT, MIN, MAX, or AVG selected columns, spreadsheet-like plug in theme, custom dynamic fields in any view using SQL snippets like CONCAT('field_first_name', ' ', 'field_last_name') or DATE_FORMAT(node.created, '%m/%%d/%Y')
=> I think this module should be used for the calculations and basic presentation. The basics that might fail, should be mentioned on the project page as an issue. Developers who want it to be different, should try first to cummunicate and work together with the developer of this module?
THEN, for mortgage a.s.o. other calculations and features are necessary. Some for bookkeeping/accounting and all kinds of financial presentations. I think those should go in follow up modules, using a calculation(&presentation) API like Views Calc. I haven't looked if such modules exist yet?