The negative impact of agricultural production on the environment is manifested, above all, in the emission of greenhouse gases (GHG). The goals of this study were to estimate methane and nitrous oxide emissions at the level of individual farms and indicate differences in emissions depending on the type of production, and to investigate dependencies between greenhouse gas emissions and economic indicators. Methane and nitrous oxide emissions were estimated at three types of farms in Poland, based on FADN data: field crops, milk, and mixed. Data were from 2004–2018. Statistical analysis confirmed the relationship between greenhouse gas emissions and economic performance. On milk farms, the value of methane and nitrous oxide emissions increased with increased net value added and farm income. Milk farms reached the highest land productivity and the highest level of income per 1 ha of farmland. On field crops farms, the relationship between net value added and farm income and methane and nitrous oxide emissions was negative. Animals remain a strong determinant of methane and nitrous oxide emissions, and the emissions at milk farms were the highest. On mixed farms, emissions result from intensive livestock and crop production. In farms of the field crops type, emissions were the lowest and mainly concerned crops.