Given a Morse function over a 2-manifold with or without boundary, the Reeb graph is obtained by contracting the connected components of the level sets to points. We prove tight upper and lower bounds on the number of loops in the Reeb graph that depend on the genus, the number of boundary components, and whether or not the 2-manifold is orientable. We also give an algorithm that constructs the Reeb graph in time O(Ò ÐÓ Ò), where Ò is the number of edges in the triangulation used to represent the 2-manifold and the Morse function. Keywords. Computational topology, 2-manifolds, Morse functions, level sets, Reeb graphs, loops, algorithms.