Despite the explosive growth of electronic payment systems, banknotes and coins still play an important role in retail payments. Optimal combination of currency has significant impact on cash payment system efficiency and reduces costs of production and distribution of currency. This paper aims to optimize the ratio of each denomination in the combination of banknotes and coins. To achieve this objective, the allocation of banknotes and coins in retail prices of goods and services consumed by households is used inspired by the greedy algorithm in MATLAB software environment. The results show that economy needs more low value currencies. In order to economic performance and to prevent losses a model for optimal distribution, larger note and new denominations issuance have been proposed.