A loan calculator on this page answers a narrower question than a bank's letter. Given an amount, an annual interest rate, and a whole number of years, what is the level monthly payment that pays the loan off, and how much of each payment is interest. The method is reducing balance, also called monthly rest: each month the interest is the remaining principal times one twelfth of the annual rate, and the rest of the payment reduces the principal. The payment itself is principal × r × (1+r)^n / ((1+r)^n − 1), where r is the annual percent divided by 100 and then by 12, and n is the number of months. At a zero rate the payment is the principal divided by the months, because there is no interest to front-load. The personal loan calculator and the home loan calculator Malaysia pages use this same formula. They change the explanation and the example, not the arithmetic.
Try 100,000 at 5 percent for one year, which is 12 months. One twelfth of 5 percent is 0.0041667. Raised across 12 months the growth factor is about 1.05116. The payment comes out near 8,560.75. The first month's interest is about 416.67 and the principal portion is the rest. The next month's interest is a little smaller, because the balance is smaller. The table shows that shift. The last row clears whatever is left so the balance is zero rather than a few sen of rounding. Add the principal column and it should match the amount you typed, within a few sen of that rounding. Add the interest column and you have the cost of borrowing on this method. That total is the number to compare, not the monthly figure alone. A lower instalment over a longer term can cost more interest even when the rate is the same.
This will not match every product that uses the word loan. A flat-rate personal loan or a hire-purchase car loan charges interest on the original principal for the whole term, then spreads principal plus that interest into equal payments. The rate looks smaller and the cost is usually higher than reducing balance at the same nominal rate. The flat-rate car loan already on this site is the car loan page under the salary calculator. Do not type a flat rate into this form and expect the bank's instalment. A reducing-balance car loan from a bank can be closer to this table, and still will not match once they add a fee. Malaysian home loans are often daily rest rather than monthly rest. Daily rest calculates interest on the balance each day, which is usually a little cheaper than this monthly shortcut at the same quoted rate. The home-loan page says that plainly. Legal fees, valuation, mortgage insurance, and a lock-in penalty are not in the table at all.
The optional price and down payment exist so you do not have to subtract on paper. Type 500,000 and 50,000 and press the button that fills the loan amount: 450,000. The payment is still computed from the loan amount, the rate, and the years. A down payment that is larger than the price is rejected. Years are whole numbers from 1 to 40, which is 12 to 480 months. The page will not invent a rate. The placeholders are examples of shape, not offers. A blank rate is an error, not a zero. Zero is a rate you can type on purpose, and the table will show no interest.
The RM in front of the money is a label for a Malaysian reader. The digits do not change if you are thinking in another currency. There is no exchange rate on this page. There is also no tax relief, no EPF, and no salary. Take-home pay, with its own warnings, is the salary calculator. Nothing you type is uploaded, and there is no "apply" button, because this site is not a lender and should not look like one. If a result matters to a contract, use the bank's illustration. Use this table to see how principal and interest move, and to notice when a quoted flat rate is a different product from the one you just calculated.