PT Pertamina Refinery Unit (RU) VI Balongan processing crude oil and naphtha into finished products such as premium, pertamax, diesel, LPG ​ ​ and others. Raw materials as crude oil and naphtha are processed derived from some sources with reference to the existing restrictions on PT Pertamina (Persero) central. Crude oil from various sources, it has a variety in terms of price and quality of the ingredient composition. In addition, the production units owned Refinery Unit (RU) VI Balongan also have certain abilities that require restrictions on the content of the crude oil processed. RU VI Balongan need to perform optimization of raw materials as crude oil and naphtha in order to produce a product/maximum output aimed at maximizing profits. Problem is formulated into a linear programming model. Search performed by utilizing the solution solver-add-in features in the MS. Excel 2010. Optimal solution obtained with all borders and the conditions fulfilled optimally the profits of $617,800.