This work aimed to develop and validate software that calculates the shielding thickness required for a radiotherapy room with a linear accelerator utilising geometric and dosimetric data. The software "Radiotherapy Infrastructure Shielding Calculations" (RISC) was developed using MATLAB programming. It does not require the installation of the MATLAB platform, and the user only needs to download and install the application, which displays a graphical user interface (GUI). The GUI includes empty cells to insert numerical values for several parameters to calculate the proper shielding thickness. The GUI comprises two main interfaces, one for the primary and one for the secondary barrier calculation. The interface of the primary barrier is divided into four tabs: (a) primary radiation, (b) patient scattered and leakage radiation, (c) IMRT techniques and (d) the shielding cost calculations. The interface of the secondary barrier includes three tabs: (a) patient scattered and leakage radiation, (b) IMRT techniques and (c) the shielding cost calculations. Each tab consists of two sections: one for input and one for output of the necessary data. The RISC is based on the methods and formulae of the NCRP 151 and calculates the primary and secondary barrier thickness for ordinary concrete with a density of 2.35g/cm3 and the cost for a radiotherapy room with a linear accelerator that performs conventional or IMRT techniques. Calculations can be performed for photon energies of 4, 6, 10, 15, 18, 20, 25 and 30 MV of a dual-energy linear accelerator, while instantaneous dose rate (IDR) calculations are also performed. The RISC has been validated using all comparative examples of NCRP 151 and the calculations from shielding reports of the Varian IX linear accelerator at Methodist Hospital of Willowbrook and Elekta Infinity at the University Hospital of Patras. The RISC is accompanied by two text files: (a) "Terminology," extensively describing all parameters, and (b) "User's Manual," providing useful instructions to the user. The RISC is user-friendly, simple, fast and precise, providing accurate shielding calculations and quickly and easily reproducing different shielding scenarios for a radiotherapy room with a linear accelerator. Additionally, it could be used during the educational process of shielding calculations by graduate students or trainee medical physicists. As a future work, the RISC will be updated with new features such as skyshine radiation, door shielding, and other types of machines and shielding materials.