Calculators and converters

How do I make a calculator for loan instalments, land area or exam GPA?

Describe the formula in Bangla and say which box holds what, and the Builder makes the calculator. Loan instalments, land area in katha, bigha and shatak, unit conversion, exam GPA and a bill splitter all work well. Just remember that changing numbers such as a dollar rate or a gold price have to be typed in by you.

What you are making

A calculator is the safest thing for a beginner to build. A number goes in a box, a sum happens, an answer appears. There is little design to fuss over, the result is visible at once, and people genuinely use it. These are the ones most in demand in Bangladesh:

A delivery charge worked out

Step by step

Step 1: Decide what boxes there will be and what answer you want. Write three columns on paper: what I put in, what gets worked out, what gets shown. With those three clear, the prompt writes itself.

Step 2: Write the formula out as openly as you can. The AI knows the common formulas, but it does not know how your area counts. Land measures differ from district to district, so put your own numbers in.

Make a calculator for converting land area. At the top I type a number in a box and beside it choose katha, bigha, shatak or square feet. Below, show what that is in all the other units at once. Use 1 bigha = 20 katha = 33 shatak, and 1 katha = 720 square feet. In another box I type the price per shatak and it shows the total price in taka. All in Bangla and in large text for a phone.

Step 3: When the first version arrives, check it against a sum you already know. Put in the one whose answer you know in advance. If it does not match, write "with these numbers the answer should be this but it is showing that, please fix the formula".

Step 4: Ask for the result in human words. Not just a bare number, but a line that explains, such as "you pay ৳9,560 a month, and ৳44,160 in interest over 3 years".

Make a loan instalment calculator. Three boxes: the amount borrowed, the yearly interest rate, and the number of months. Work out and show the monthly instalment, the total to be repaid, and how much of that is interest. Below it a month by month table showing how much of each payment is principal and how much is interest. Give a button to download that table as a PDF. Show money in Bengali numerals, with commas.

Step 5: When you are happy, press Share and give the link to whoever needs it. You can say "make it something I can put on my phone home screen", and it will sit there with its own icon and work without internet, which is a blessing in a shop or out on a plot of land.

Tricks that make it better

Mistakes many people make

What to do next

Once one calculator stands up, adding another beside it is very easy. Say "put tabs at the top, one for land area, one for instalments, one for GPA", and all your tools live behind one link. For GPA, write out your board's rule, how many points each grade is worth and how an optional subject counts. And in a bill splitter, letting people be added by name is what makes it get passed around a table of friends.

Beginner questions

Interest, EMI, zakat, can it do them all?

Yes, state the rule and that calculator exists. The common ones the AI already knows.

Could the results be wrong?

Once the formula is right, the math never drifts, it runs the same rule every time. Verify once with a known example.

Can my customers use it?

Yes, share the link or keep it open on the shop tablet. Any number of people, no cost.