In this work, we develop a trade model that explains the pattern of trade between countries based on differences in total factor productivity (TFP) while also accounting for differences in relative factor endowments. The novelty stems from the introduction of production functions derived by combining the Ricardian and Heckscher–Ohlin–Samuelson (H-O-S) theories, with TFP differences serving as the basis of comparative advantage. To this end, a testable hypothesis is derived. For the empirical measurement of the TFP in each industry and country, a constant elasticity of substitution (CES)-type production function was employed, and the TFP was calculated as the Solow residual from the production function’s fixed term. To offer a better understanding, the model was tested for the bilateral trade between Germany and Russia, and Germany and the Czech Republic. It was found that TFP differences can be used as a basis for explaining comparative advantages and, consequently, the bilateral pattern of trade between two countries.