Hi Imran,
Assuming your requirement you have given .You can use scales for this.
Maintain your freight as if quantity from 10,000kg then $1000.
Similarly for retail price if quantity is 10,000kg then $50.15/kg.
I am not sure if this is your requirement. If not can you please explain your requirement a bit.