The ternary compound Sc2Fe3Si5 has attracted much attention because of the various anomalous physical properties. The specific heat experiment and energy band structure calculation suggest that Sc2Fe3Si5 is a two-gap superconductor. Based on this, we analyze the upper critical field for superconducting Sc2Fe3Si5 crystals using the two-band Ginzburg-Landau theory. A two-parameter variational approach is adopted to obtain the upper critical field in arbitrary direction. The temperature and angular dependences of the upper critical field are plotted. The results reproduce the experimental data in a very broad temperature range and strongly support previous specific heat data and theoretical calculation, pointing to the existence of two energy gaps in Sc2Fe3Si5. The anisotropy of the upper critical field is also studied and is about 2, in accordance with the experimental result. Moreover our calculations indicate that Sc2Fe3Si5 has rather a three-dimension character, in agreement with the energy band calculation.