DEV Community

Cover image for Pricing an SMM Reseller Menu in Taka: A Python Markup Calculator With Fees and Refill Buffer
SEO - NT Tech Innovation
SEO - NT Tech Innovation

Posted on

Pricing an SMM Reseller Menu in Taka: A Python Markup Calculator With Fees and Refill Buffer

By MD Fozla Rabbi, SEO Specialist

If you're starting an SMM reseller panel in Bangladesh, pricing is where most beginners mess up. They take the supplier's USD rate, convert it roughly, add "something" on top and hope. Then a refill eats the profit or a bKash fee nobody counted turns a sale into a loss.

So here's a small Python calculator that does it properly. It takes a supplier's USD rate per 1,000, converts to Taka, adds payment fees, a drop/refill buffer and your margin, then rounds to clean customer-facing prices.

Inputs that actually matter

  • Supplier rate in USD per 1,000
  • Exchange rate you actually pay when you top up (not Google's rate)
  • Payment gateway fee on the customer side, for example bKash or Nagad merchant charges
  • Drop buffer: the % you expect to refill for free
  • Target margin
  • Rounding: customers trust ৳49 more than ৳47.63

The code

from dataclasses import dataclass
import math
import csv

@dataclass
class Settings:
    usd_to_bdt: float = 125.0     # what you really pay per USD, update weekly
    gateway_fee: float = 0.0185   # e.g. 1.85% merchant fee, check your own
    drop_buffer: float = 0.10     # expect to refill ~10% on follower services
    margin: float = 0.35          # 35% target margin
    round_to: int = 5             # round up to nearest 5 Taka

def bdt_price(usd_per_k, s, refill=True):
    cost = usd_per_k * s.usd_to_bdt
    if refill:
        cost *= (1 + s.drop_buffer)
    price = cost * (1 + s.margin)
    price = price / (1 - s.gateway_fee)   # fee is taken from what the customer pays
    price = math.ceil(price / s.round_to) * s.round_to
    return price - 1 if price > 10 else price  # 50 becomes 49

def profit(usd_per_k, sell, s, refill=True):
    cost = usd_per_k * s.usd_to_bdt * ((1 + s.drop_buffer) if refill else 1)
    net = sell * (1 - s.gateway_fee)
    return round(net - cost, 2)
Enter fullscreen mode Exit fullscreen mode

Building a menu from a supplier CSV

Most panels let you export services. Assume a CSV with name,usd_per_k,refill.

def build_menu(src, dst, s=Settings()):
    with open(src, newline="", encoding="utf-8") as f, \
         open(dst, "w", newline="", encoding="utf-8") as out:
        w = csv.writer(out)
        w.writerow(["service", "supplier_usd", "sell_bdt", "profit_bdt", "margin_pct"])
        for row in csv.DictReader(f):
            usd = float(row["usd_per_k"])
            refill = row["refill"].strip().lower() in ("yes", "true", "1")
            sell = bdt_price(usd, s, refill)
            p = profit(usd, sell, s, refill)
            w.writerow([row["name"], usd, sell, p, round(100 * p / sell, 1)])

if __name__ == "__main__":
    build_menu("supplier.csv", "menu_bdt.csv")
    print("Wrote menu_bdt.csv")
Enter fullscreen mode Exit fullscreen mode

A quick sanity check

s = Settings()
for usd in (0.15, 0.6, 1.2, 3.0):
    sell = bdt_price(usd, s)
    print(usd, "USD ->", sell, "BDT, profit", profit(usd, sell, s))
Enter fullscreen mode Exit fullscreen mode

Run it with your own numbers. The output will tell you fast whether a cheap service is worth listing at all. Very low-cost services often round up so much that the price looks odd, or the profit per order is tiny once you add support time.

Things the calculator can't do for you

  • Update the exchange rate. Change usd_to_bdt whenever your top-up cost changes.
  • Know your real drop rate. Start at 10%, then adjust after a month of actual refill requests.
  • Price your time. Answering a WhatsApp complaint at midnight has a cost too. Keep margins healthy on services that need hand-holding.

Where to start as a reseller

If you're still deciding whether reselling is worth it, SMM Booster BD has a beginner-friendly guide on how to start an SMM reseller panel in Bangladesh and earn. It covers the business side this script skips: choosing a supplier, payment setup and handling customers.

Their API is documented at smmbooster.bd/api if you want to connect a child panel later.

Price with math, not guesses. Your bKash statement will thank you.

Top comments (0)