const form = document.getElementById('calculator-form');
const resolutions = [
{ name: '640 x 480 (VGA)', width: 640, height: 480 },
{ name: '800 x 600 (SVGA)', width: 800, height: 600 },
{ name: '1024 x 768 (XGA)', width: 1024, height: 768 },
{ name: '1280 x 720 (HD)', width: 1280, height: 720 },
{ name: '1920 x 1080 (Full HD)', width: 1920, height: 1080 },
{ name: '2560 x 1440 (QHD)', width: 2560, height: 1440 },
{ name: '3840 x 2160 (4K)', width: 3840, height: 2160 },
];
const resolutionMenu = document.createElement('select');
resolutionMenu.id = 'resolution-menu';
resolutionMenu.innerHTML = resolutions.map(res => `${res.name} `).join('');
form.insertBefore(resolutionMenu, form.firstChild);
resolutionMenu.addEventListener('change', event => {
const [width, height] = event.target.value.split(',');
form.elements['width'].value = width;
form.elements['height'].value = height;
});
form.addEventListener('submit', event => {
event.preventDefault();
const width = form.elements['width'].value;
const height = form.elements['height'].value;
const bitDepth = form.elements['bit-depth'].value;
const numPhotos = form.elements['num-photos'].value;
if (width === '' || height === '' || bitDepth === '' || numPhotos === '' || isNaN(width) || isNaN(height) || isNaN(bitDepth) || isNaN(numPhotos)) {
return;
}
const vramRequired = width * height * bitDepth * numPhotos / (8 * 1024 * 1024 * 1024);
console.log(vramRequired);
// Calculate the final VRAM needed
const finalVramNeeded = (vramRequired * 1.337) + 1.53;
// Display the final VRAM needed
const resultField = document.getElementById('result');
resultField.innerHTML = `Total VRAM needed in GB: ${finalVramNeeded.toFixed(2)} `;
});
VRAM Calculator Use this calculator to determine how many images can be used without maxing out your GPU’s memory. Note, these values were tested on NVIDIA’s Instant NGP with an AABB of 16.
Use this calculator to determine how many images can be used without maxing out your GPU’s memory. Note, these values were tested on NVIDIA’s Instant NGP with an AABB of 16.
Use this calculator to determine how many images can be used without maxing out your GPU’s memory.
Note, these values were tested on Nvidia’s Instant NGP with an AABB of 16.
Documenting the exciting progression of radiance field based technologies, including Neural Radiance Fields (NeRFs) and 3D Gaussian Splatting.
© 2025 Radiancefields.com. All rights reserved.
Documenting the exciting progression of radiance field based technologies, including Neural Radiance Fields (NeRFs) and 3D Gaussian Splatting.
© 2025 Radiancefields.com. All rights reserved.
Documenting the exciting progression of radiance field based technologies, including Neural Radiance Fields (NeRFs) and 3D Gaussian Splatting.
© 2025 Radiancefields.com. All rights reserved.
Documenting the exciting progression of radiance field based technologies, including Neural Radiance Fields (NeRFs) and 3D Gaussian Splatting.
© 2025 Radiancefields.com. All rights reserved.