JARVIS-DFT is a density functional theory calculation database for 2D materials, solar cells and thermoelectrics. At present, the database consists of 873 DFT calculations (>25000 sub-calculations) for energetics, structural properties (computational X-ray diffraction, radial distribution function), electronic properties (density of states, band-structure), elastic properties (modulus of elasticity, associated phonon, its representation and visualization) , optical properties (dielectric function, absorption spectra, refractive index) and thermoelectric properties (Seebeck coefficient, ZT-factor, effective mass of charge-carriers). All the calculations were done with VASP software. Some of the key-features for JARVIS-DFT is: we used the vDW-DF functional, which works better for 2D materials than PBE or other commonly used functionals, the database contains both 2D-layered and 2D-bulk structure data (for comparison) and we used a tighter DFT convergence criteria than other databases. All the data is publicly available with an easy web-interface. To enhance data-reproducibility input files for calculations are provided. JARVIS-DFT was made with custom-modification of the publicly available Pymatgen, Phonopy and ASE tools. We greatly appreciate these tools. Various assumptions used during calculations are discussed on the webpages.