A contract rate intelligent calculation method, apparatus and device, and a medium, the method comprising: receiving a contract settlement rule configured by a user, the contract settlement rule comprising
data source information, a statistical
time range, a calculation period and a rate calculation formula; according to the
data source information and the statistical
time range, order data is pulled from a corresponding
data source; dividing the order data according to the calculation period to generate corresponding calculation units; and executing the rate calculation formula to calculate the order data in each calculation unit to obtain the contract rate in the corresponding calculation period, thereby realizing automatic and intelligent rate settlement work, greatly improving the calculation efficiency and accuracy, and being capable of flexibly adapting to complex and changeable business rules.