custom ammount calculate