The function of the dinosaur's sail or hump is uncertain; scientists have proposed several hypotheses including heat regulation and display. In addition, such a prominent feature on its back could make it appear even larger than it was, intimidating other animals.[18]
The structure may have been used for thermoregulation. If the structure contained abundant blood vessels, the animal could have used the sail's large surface area to absorb heat. This would imply that the animal was only partly warm-blooded at best and lived in climates where nighttime temperatures were cool or low and the sky usually not cloudy. It is also possible that the structure was used to radiate excess heat from the body, rather than to collect it. Large animals, due to the relatively small ratio of surface area of their body compared to the overall volume (Haldane's principle), face far greater problems of dissipating excess heat at higher temperatures than gaining it at lower. Sails of large dinosaurs added considerably to the skin area of their bodies, with minimum increase of volume. Furthermore, if the sail was turned away from the sun, or positioned at a 90 degree angle towards a cooling wind, the animal would quite effectively cool itself in the warm climate of Cretaceous Africa.[42] However, Bailey (1997) was of the opinion that a sail could have absorbed more heat than it radiated.[18] Bailey proposed instead that Spinosaurus and other dinosaurs with long neural spines had fatty humps on their backs for energy storage, insulation, and shielding from heat.[18]
Many elaborate body structures of modern-day animals serve to attract members of the opposite sex during mating. It is possible that the sail of Spinosaurus was used for courtship, in a way similar to a peacock's tail. Stromer speculated that the size of the neural spines may have differed between males and females.[19]
Gimsa and colleagues (2015) suggest that the dorsal sail of Spinosaurus was analogous to the dorsal fins of sailfish and served a hydrodynamic purpose.[43] Gimsa and others point out that more basal, long-legged spinosaurids had otherwise round or crescent-shaped dorsal sails, whereas in Spinosaurus, the dorsal neural spines formed a shape that was roughly rectangular, similar in shape to the dorsal fins of sailfish. They therefore argue that Spinosaurus used its dorsal neural sail in the same manner as sailfish, and that it also employed its long narrow tail to stun prey like a modern thresher shark. Sailfish employ their dorsal fins for herding schools of fish into a "bait ball" where they cooperate to trap the fish into a certain area where the sailfish can snatch the fish with their bills. The sail could have possibly reduced yaw rotation by counteracting the lateral force in the direction opposite to the slash as suggested by Gimsa and colleagues (2015). Gimsa and colleagues specifically wrote :
Spinosaurus anatomy exhibits another feature that may have a modern analogy: its long tail resembled that of the thresher shark, employed to slap the water to herd and stun shoals of fish before devouring them (Oliver and colleagues, 2013). The strategies that sailfish and thresher sharks employ against shoaling fish are more effective when the shoal is first concentrated into a ‘bait ball’ (Helfman, Collette & Facey, 1997; Oliver and colleagues, 2013; Domenici and colleagues, 2014). Since this is difficult for individual predators to achieve, they cooperate in this effort. When herding a shoal of fish or squid, sailfish also raise their sails to make themselves appear larger. When they slash or wipe their bills through shoaling fish by turning their heads, their dorsal sail and fins are outstretched to stabilize their bodies hydrodynamically (Lauder & Drucker, 2004). Domenici and colleagues (2014) postulate that these fin extensions enhance the accuracy of tapping and slashing. The sail can reduce yaw rotation by counteracting the lateral force in the direction opposite to the slash. This means that prey is less likely to recognize the massive trunk as being part of an approaching predator (Marras and colleagues, 2015; Webb & Weihs 2015).
Spinosaurus exhibited the anatomical features required to combine all three hunting strategies: a sail for herding prey more efficiently, as well as flexible tail and neck to slap the water for stunning, injuring or killing prey. The submerged dorsal sail would have provided a strong centreboard-like counterforce for powerful sidewards movements of the strong neck and long tail, as performed by sailfish (Domenici and colleagues, 2014) or thresher sharks (Oliver and colleagues, 2013). While smaller dorsal sails or fins make the dorsal water volume better accessible for slashing, it can be speculated that their smaller stabilization effect makes lateral slashing less efficient (e.g. for thresher sharks). Forming a hydrodynamic fulcrum and hydrodynamically stabilizing the trunk along the dorsoventral axis, Spinosaurus’ sail would also have compensated for the inertia of the lateral neck by tail movements and vice versa not only for predation but also for accelerated swimming. This behaviour might also have been one reason for Spinosaurus’ muscular chest and neck reported by Ibrahim and colleagues (2014).
It is unclear whether Spinosaurus was primarily a terrestrial predator or a piscivore, as indicated by its elongated jaws, conical teeth and raised nostrils. The hypothesis of spinosaurs as specialized fish eaters has been suggested before by A. J. Charig and A. C. Milner for Baryonyx. They base this on the anatomical similarity with crocodilians and the presence of digestive acid-etched fish scales in the rib cage of the type specimen.[44] Large fish are known from the faunas containing other spinosaurids, including the Mawsonia, in the mid-Cretaceous of northern Africa and Brazil. Direct evidence for spinosaur diet comes from related European and South American taxa. Baryonyx was found with fish scales and bones from juvenile Iguanodon in its stomach, while a tooth embedded in a South American pterosaur bone suggests that spinosaurs occasionally preyed on pterosaurs,[45] but Spinosaurus was likely to have been a generalized and opportunistic predator, possibly a Cretaceous equivalent of large grizzly bears, being biased toward fishing, though it undoubtedly scavenged and took many kinds of small or medium-sized prey.[11] A study by Cuff and Rayfield (2013) concluded that bio-mechanical data suggests that Spinosaurus was not an obligate piscivore and that its diet was more closely associated with each individual's size.[46] The characteristic rostral morphology of Spinosaurus allowed its jaws to resist bending in the vertical direction, however its jaws were poorly adapted with respect to resisting lateral bending.[46]
In 2009, Dal Sasso and colleagues. reported the results of X-ray computed tomography of the MSNM V4047 snout.[47] As the foramina on the outside all communicated with a space on the inside of the snout, the authors speculated that Spinosaurus had pressure receptors inside the space that allowed it to hold its snout at the surface of the water to detect swimming prey species without seeing them.[47]
A 2010 isotope analysis by Romain Amiot and colleagues found that oxygen isotope ratios of spinosaurid teeth, including teeth of Spinosaurus, indicate semiaquatic lifestyles.[48] Isotope ratios from tooth enamel and from other parts of Spinosaurus (found in Morocco and Tunisia) and of other predators from the same area such as Carcharodontosaurus were compared with isotopic compositions from contemporaneous theropods, turtles, and crocodilians.[48] The study found that Spinosaurus teeth from five of six sampled localities had oxygen isotope ratios closer to those of turtles and crocodilians when compared with other theropod teeth from the same localities.[48] The authors postulated that Spinosaurus switched between terrestrial and aquatic habitats to compete for food with large crocodilians and other large theropods respectively.[48] A 2013 study performed by scientists Andrew R. Cuff and Emily J. Rayfield showed that Spinosaurids like Spinosaurus had relatively poor resistance in their skulls for torsion compared to other members of this group (Baryonyx) and modern alligators, thus showing Spinosaurus preyed more regularly on fish than it did on land animals, although considered predators of the former too.[46]
A 2018 study by Donald Henderson, however, refutes the claim that Spinosaurus was semiaquatic. By studying the buoyancy in lungs of crocodilians and comparing it to the lung placement in Spinosaurus, it was discovered that Spinosaurus could not sink or dive below the water surface. It was also capable of keeping its entire head above the water surface while floating, much like other non-aquatic theropods. Furthermore, the study found that Spinosaurus had to continually paddle its hind legs to prevent itself from tipping over onto its side, something that extant semiaquatic animals do not need to perform. Henderson therefore theorized that Spinosaurus probably did not hunt completely submerged in water as previously hypothesized, but instead would have spent much of its time on land or in shallow water.[49][6]
Although traditionally depicted as a biped, it has been suggested since the mid-1970s that Spinosaurus was at least an occasional quadruped.[10][42] This was bolstered by the discovery of Baryonyx, a relative with robust arms.[50] Because of the mass of the hypothesized fatty dorsal humps of Spinosaurus, Bailey (1997) was open to the possibility of a quadrupedal posture,[18] leading to new restorations of it as such.[50] Theropods, including spinosaurids, could not pronate their hands (rotate the forearm so the palm faced the ground),[51] but a resting position on the side of the hand was possible, as shown by fossil prints from an Early Jurassic theropod.[52] The hypothesis that Spinosaurus had a typical quadrupedal gait since fell out of favor, however it was still believed that spinosaurids may have crouched in a quadrupedal posture, due to biological and physiological constraints.[44][51]
The possibility of a quadrupedal Spinosaurus was revived by a 2014 paper by Ibrahim and colleagues that described new material of the animal. The paper found that the hind limbs of Spinosaurus were much shorter than previously believed, and that its center of mass was located in the midpoint of the trunk region, as opposed to near the hip as in typical bipedal theropods. It was therefore proposed that Spinosaurus was poorly adapted for bipedal terrestrial locomotion, and must have been an obligate quadruped on land. The reconstruction used in the study was an extrapolation based on different sized individuals, scaled to what were assumed to be the correct proportions.[5] Palaeontologist John Hutchinson of the Royal Veterinary College of the University of London has expressed scepticism to the new reconstruction, and cautioned that using different specimens can result in inaccurate chimaeras.[53] Scott Hartman also expressed criticism because he believed the legs and the pelvis were inaccurately scaled (27% too short) and didn't match the published lengths.[54] However, Mark Witton expressed agreement with the proportions reported in the paper.[55] In their 2015 re-description of Sigilmassasaurus, Evers and colleagues argued that Sigilmassasaurus was in fact a distinct genus from Spinosaurus, and therefore doubted whether the material assigned to Spinosaurus by Ibrahim et. al. should be assigned to Spinosaurus or Sigilmassasaurus.[30] In 2018, an analysis by Henderson found that Spinosaurus probably was competent at bipedal terrestrial locomotion; the center of mass was instead found to be close to the hips, allowing Spinosaurus to stand upright like other bipedal theropods.[6]