Skip to main content
Chemistry LibreTexts

6.8: Carboxylic Acids and Esters

  • Page ID
    441206
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)
    Learning Objectives
    • Describe the structure and properties of carboxylic acids and esters.
    • Name common carboxylic acids and esters.

    The odor of vinegar is caused by the presence of acetic acid, a carboxylic acid, in the vinegar. The odor of ripe bananas and many other fruits is due to the presence of esters, compounds that can be prepared by the reaction of a carboxylic acid with an alcohol. Because esters do not have hydrogen bonds between molecules, they have lower vapor pressures than the alcohols and carboxylic acids from which they are derived.

    Both carboxylic acids and esters contain a carbonyl group with a second oxygen atom bonded to the carbon atom in the carbonyl group by a single bond. In a carboxylic acid, the second oxygen atom also bonds to a hydrogen atom. In an ester, the second oxygen atom bonds to another carbon atom. The names for carboxylic acids and esters include prefixes that denote the lengths of the carbon chains in the molecules and are derived following nomenclature rules similar to those for inorganic acids and salts (see these examples):

    CNX_Chem_20_03_CarboxEst2_img.jpg
    Figure \(\PageIndex{1}\) Two structures are shown. The first structure is labeled, “ethanoic acid,” and, “acetic acid.” This structure indicates a C atom to which H atoms are bonded above, below and to the left. To the right of this in red is a bonded group comprised of a C atom to which an O atom is double bonded above. To the right of the red C atom, an O atom is bonded which has an H atom bonded to its right. Both O atoms have two sets of electron dots. The second structure is labeled, “methyl ethanoate,” and, “methyl acetate.” This structure indicates a C atom to which H atoms are bonded above, below and to the left. In red, bonded to the right is a C atom with a double bonded O atom above and a single bonded O atom to the right. To the right of this last O atom in black is another C atom to which H atoms are bonded above, below and to the right. Both O atoms have two pairs of electron dots.

    The functional groups for an acid and for an ester are shown in red in these formulas.

    Carboxylic Acids

    Carboxylic acids occur widely in nature, often combined with alcohols or other functional groups, as in fats, oils, and waxes. They are components of many foods, medicines, and household products (Figure \(\PageIndex{1}\)). Not surprisingly, many of them are best known by common names based on Latin and Greek words that describe their source.

    Carboxyl group
    Figure \(\PageIndex{2}\) Carboxylic acids occur in many common household items. (a) Vinegar contains acetic acid, (b) aspirin is acetylsalicylic acid, (c) vitamin C is ascorbic acid, (d) lemons contain citric acid, and (e) spinach contains oxalic acid. © Thinkstock

    Methanoic acid (left); butanoic acid (right)

    The carboxyl group contains the \(\ce{C=O}\) of the carbonyl group, with the carbon atom also being bonded to a hydroxyl \(\left( \ce{-OH} \right)\) group. A carboxylic acid is an organic compound that contains the carboxyl functional group. The general formula for a carboxylic acid can be abbreviated as \(\ce{R-COOH}\). The carbon atom of the carboxyl group may be attached to a hydrogen atom or to a carbon chain. The naming of a carboxylic acid is as follows: Name the parent compound by finding the longest continuous chain that contains the carboxyl group. Change the -e at the end of the name of the alkane to -oic acid.

    methanoic acid (left);  butanoic acid (right)

    Carboxylic acids are weak acids, meaning they are not 100% ionized in water. Generally only about 1% of the molecules of a carboxylic acid dissolved in water are ionized at any given time. The remaining molecules are undissociated in solution.

    We prepare carboxylic acids by the oxidation of aldehydes or alcohols whose –OH functional group is located on the carbon atom at the end of the chain of carbon atoms in the alcohol:

    CNX_Chem_20_03_oxtoacid_img.jpg
    Figure \(\PageIndex{3}\) A chemical reaction with two arrows is shown. On the left, an alcohol, indicated with a C atom to which an R group is bonded to the left, H atoms are bonded above and below, and in red, a single bonded O atom with an H atom bonded to the right is shown. Following the first reaction arrow, an aldehyde is shown. This structure is represented with an R group bonded to a red C atom to which an H atom is bonded above and to the right, and an O atom is double bonded below and to the right. Appearing to the right of the second arrow, is a carboxylic acid comprised of an R group bonded to a C atom to which, in red, an O atom is single bonded with an H atom bonded to its right side. A red O is double bonded below and to the right. All O atoms have two pairs of electron dots.

    The simplest carboxylic acid, formic acid (HCOOH, methanoic acid), was first obtained by the distillation of ants (Latin formica, meaning “ant”). The bites of some ants inject formic acid, and the stings of wasps and bees contain formic acid (as well as other poisonous materials).

    The next higher homolog is acetic acid (CH3COOH, ethanoic acid), which is made by fermenting cider and honey in the presence of oxygen. This fermentation produces vinegar, a solution containing 4%–10% acetic acid, plus a number of other compounds that add to its flavor. Acetic acid is probably the most familiar weak acid used in educational and industrial chemistry laboratories.

    Formic acidAcetic acid

    Pure acetic acid solidifies at 16.6°C, only slightly below normal room temperature. In the poorly heated laboratories of the late 19th and early 20th centuries in northern North America and Europe, acetic acid often “froze” on the storage shelf. For that reason, pure acetic acid (sometimes called concentrated acetic acid) came to be known as glacial acetic acid, a name that survives to this day.

    The third homolog, propionic acid (CH3CH2COOH, propionic acid), is seldom encountered in everyday life. The fourth homolog, butyric acid (CH3CH2CH2COOH), is one of the most foul-smelling substances imaginable. It is found in rancid butter and is one of the ingredients of body odor. By recognizing extremely small amounts of this and other chemicals, bloodhounds are able to track fugitives.

    Many carboxylic acids occur naturally in plants and animals. Citrus fruits such as oranges and lemons contain citric acid (Figure \(\PageIndex{4}\)). Ethanoic and citric acids are frequently added to foods to give them a tart flavor.

    CK12 Screenshot 25-12-4.png
    Figure \(\PageIndex{4}\): Citric acid is a large carboxylic acid with three ionizable hydrogen atoms. It is found in citrus fruits and gives them their sour or tart flavor.

    Benzoic, propanoic, and sorbic acids are used as food preservatives because of their ability to kill microorganisms that can lead to spoilage. Methanoic and ethanoic acids are widely used in industry as starting points for the manufacture of paints, adhesives, and coatings.

    Benzoic acid

    Esters: The Sweet Smell of RCOOR'

    An ester is an organic compound that is a derivative of a carboxylic acid in which the hydrogen atom of the hydroxyl group has been replaced with an alkyl group. The structure is the product of a carboxylic acid (the \(\ce{R}\)-portion) and an alcohol (the \(\ce{R'}\)-portion). The general formula for an ester is shown below.

    Structure of an ester

    The \(\ce{R}\) group can either be a hydrogen or a carbon chain. The \(\ce{R'}\) group must be a carbon chain since a hydrogen atom would make the molecule a carboxylic acid.

    Esters are produced by the reaction of acids with alcohols. For example, the ester ethyl acetate, CH3CO2CH2CH3, is formed when acetic acid reacts with ethanol:

    CNX_Chem_20_03_esterform_img.jpg
    Figure \(\PageIndex{5}\)). Once a flower or fruit has been chemically analyzed, flavor chemists can attempt to duplicate the natural odor or taste. Both natural and synthetic esters are used in perfumes and as flavoring agents.A chemical reaction is shown. On the left, a C H subscript 3 group bonded to a red C atom. The C atom forms a double bond with an O atom which is also in red. The C atom is also bonded to an O atom which is bonded to an H atom, also in red. A plus sign is shown, which is followed by H O C H subscript 2 C H subscript 3. The H O group is in red. Following a reaction arrow, a C H subscript 3 group is shown which is bonded to a red C atom with a double bonded O atom and a single bonded O. To the right of this single bonded O atom, a C H subscript 2 C H subscript 3 group is attached and shown in black. This structure is followed by a plus sign and H subscript 2 O. The O atoms in the first structure on the left and the structure following the reaction arrow have two pairs of electron dots.
    CNX_Chem_20_03_CarboxEst1_img.jpg
    Figure \(\PageIndex{6}\) Esters are responsible for the odors associated with various plants and their fruits. There are nine structures represented in this figure. The first is labeled, “raspberry,” and, “iso-butyl formate.” It shows an H atom with a line going up and to the right which then goes down and to the right. It goes up and to the right again and down and to the right and up and to the right. At the first peak is a double bond to an O atom. At the first trough is an O atom. At the second trough, there is a line going straight down. The second is labeled, “apple,” and, “butyl acetate.” There is a line that goes up and to the right, down and to the right, up and to the right, and down and to the right. At the second peak is a double bond to an O atom. At the end, on the right is O C H subscript 3. The third is labeled, “pineapple,” and, “ethyl butyrate.” It is a line that goes up and to the right, down and to the right, up and to the right, down and to the right, up and to the right, and down and to the right. At the second peak is a double bond to an O atom and at the second trough is an O atom. The fourth is labeled, “rum,” and “propyl isobutyrate.” It shows a line that goes down and to the right, up and to the right, down and to the right, up and to the right, down and to the right and up and to the right. The first complete peak has a double bond to an O atom and the second trough has an O atom. The fifth is labeled, “peach,” and “benzyl acetate.” It shows a line that goes up and to the right, down and to the right, up and to the right and down and to the right. This line connects to a hexagon with a circle inside it. The first peak has a double bond to an O atom and the first trough has an O atom. The sixth is labeled, “orange,” and, “octyl acetate.” It shows a line that goes up and to the right and down and to the right and up and to the right and down and to the right and up and to the right and down and to the right and up and to the right and down and to the right and up and to the right and down and to the right. The first peak has a double bond to an O atom and the first complete trough has and an O atom. The seventh is labeled, “wintergreen,” and “methyl salicylate.” It shows a hexagon with a circle inside of it. On the right, is a bond down and to the right to an O H group. On the right is a bond to a line that goes up and to the right and down and two the right and up and to the right. At the first peak is a double bond to an O atom, the next trough shows and O atom and at the end of the line is a C H subscript 3 group. The eighth is labeled, “honey,” and “methyl phenylacetate.” It shows a hexagon with a circle inside of it. It shows it connecting to a line on the right that goes down and to the right then up and to the right and down and to the right and up and to the right. At the first peak that is not part of the hexagon is a double bond to an O atom. At the last trough is an O atom. The ninth is labeled, “strawberry,” and “ethyl methylphenylglycidate.” This shows a hexagon with a circle inside of it. On the right, it connects to a line that goes up and to the right and down and to the right and up and to the right and down and to the right and up and to the right and down and to the right. At the first peak is a line that extends above and below. Below, it connects to an O atom. At the next trough, the line extends down and to the left to the same O atom. At the next peak is a double bond to an O atom and at the next trough is an O atom.
    Chemistry Is Everywhere: Esters, Fragrances, and Flavorings

    Esters are very interesting compounds, in part because many have very pleasant odors and flavors. (Remember, never taste anything in the chemistry lab!) Many esters occur naturally and contribute to the odor of flowers and the taste of fruits. Other esters are synthesized industrially and are added to food products to improve their smell or taste; it is likely that if you eat a product whose ingredients include artificial flavorings, those flavorings are esters. Here are some esters and their uses, thanks to their odors, flavors, or both:

    Table \(\PageIndex{1}\): Esters, Fragrances, and Flavorings
    Ester Tastes/Smells Like Ester Tastes/Smells Like
    allyl hexanoate pineapple isobutyl formate raspberry
    benzyl acetate pear isobutyl acetate pear
    butyl butanoate pineapple methyl phenylacetate honey
    ethyl butanoate banana nonyl caprylate orange
    ethyl hexanoate pineapple pentyl acetate apple
    ethyl heptanoate apricot propyl ethanoate pear
    ethyl pentanoate apple propyl isobutyrate rum

    Among the most important of the natural esters are fats (such as lard, tallow, and butter) and oils (such as linseed, cottonseed, and olive oils), which are esters of the trihydroxyl alcohol glycerine, C3H5(OH)3, with large carboxylic acids, such as palmitic acid, CH3(CH2)14CO2H, stearic acid, CH3(CH2)16CO2H, and oleic acid, \(\mathrm{CH_3(CH_2)_7CH=CH(CH_2)_7CO_2H}\). Oleic acid is an unsaturated acid; it contains a \(\mathrm{C=C}\) double bond. Palmitic and stearic acids are saturated acids that contain no double or triple bonds.

    Note

    Fats and vegetable oils are esters of long-chain fatty acids and glycerol. Esters of phosphoric acid are of the utmost importance to life.

    Esters are common solvents. Ethyl acetate is used to extract organic solutes from aqueous solutions—for example, to remove caffeine from coffee. It also is used to remove nail polish and paint. Cellulose nitrate is dissolved in ethyl acetate and butyl acetate to form lacquers. The solvent evaporates as the lacquer “dries,” leaving a thin film on the surface. High boiling esters are used as softeners (plasticizers) for brittle plastics.

    Summary

    • A carboxylic acid is an organic compound that contains the carboxyl functional group.
    • The general formula for a carboxylic acid can be abbreviated as \(\ce{R-COOH}\).
    • Many carboxylic acids are used in the food and beverage industry for flavoring and/or as preservatives.
    • An ester has an OR group attached to the carbon atom of a carbonyl group.
    • Fats and vegetable oils are esters of long-chain fatty acids and glycerol.
    • Esters occur widely in nature and generally have pleasant odors and are often responsible for the characteristic fragrances of fruits and flowers.

    Contributors and Attributions

    • Libretext : The Basics of GOB Chemistry (Ball et al.)
    • TextMap: Beginning Chemistry (Ball et al.)
    • OpenSTAX

    6.8: Carboxylic Acids and Esters is shared under a collection license and was authored, remixed, and/or curated by Marisa Alviar-Agnew.