ABSTRACT Microalgae are efficient at using solar energy to turn CO2 and nutrients into biomass containing lipids, proteins, carbohydrates and other compounds that may be used to produce bioproducts for human and animal consumption and pharmaceutical use. The aim of this study was to assess the effect of the NaNO3 and NaCl concentration on the growth kinetics, the biomass composition and the ability to biofix CO2 using the microalga Spirulina sp. LEB 18. The assays were carried out according to a 22 central composite design (CCD) with different concentrations of NaNO3 (1.25, 1.88 and 2.50 g L-1) and NaCl (1.00, 15.0 and 30.0 g L-1). The assays were carried out in 2 L vertical tubular photobioreactors at 30°C, 12 h light/dark and an injection of 12.0% v/v of CO2 at 0.3 vvm. The best growing results (Xmax = 1.60 g L-1, Pmax = 0.109 g L-1 d-1, μmax = 0.208 d-1) and CO2 biofixation rate (197.4 mg L-1 d-1) were observed in the assay with 1.25 g L-1 NaNO3 and 1.00 g L-1 NaCl. Increasing the NaCl concentration produced biomass with a higher carbohydrate content, while increasing the NaNO3 concentration reduced the protein concentration. According to the results, in addition to using Spirulina as a source of protein, it can also be used as a source of carbohydrates and to biologically remove CO2 from the atmosphere.