This guide explains how to quantify western blot bands with Blot Reader, the free browser-based densitometry tool on PYMtools. It covers how to prepare the image, how to place the boxes, what every number in the results means, and exactly how each one is calculated.
Nothing to install · No sign-up · Your images never leave your device
Before you start: prepare the image
The result can only be as good as the image you measure. Before you load anything, check five things:
- Use the original file from your imager. A screenshot or a figure copied from slides has been resampled and often compressed, so its pixel values have changed.
- Use a lossless format. PNG is ideal. JPEG compression alters pixel values, and pixel values are what densitometry measures.
- Convert TIFF files to PNG first. Browsers cannot open TIFF files. Your imaging software can export PNG. A 16-bit image becomes 8-bit on the way (256 intensity levels instead of 65,536), so use the widest range the export offers.
- Leave the image unadjusted. Brightness, contrast, gamma and “auto levels” change the relationship between signal and protein. Measure the image as it was captured.
- Avoid saturated bands. A band that is completely black on film, or white in a fluorescence image, has hit the detector’s ceiling and under-reports how much protein is there. Use a shorter exposure for quantification.
Step by step
-
Set up the slots.
- The first slot is always the housekeeping protein. The second slot is your first target.
- Press + Add target to add up to three targets. All of them are normalised to the same housekeeping control.
- Click a slot’s name to rename it, for example GAPDH or p-ERK. The names carry through to the results and the CSV.
-
Load the images. Select a slot, then press Load image.
- If the housekeeping protein and the target are on the same image, load the same file into both slots.
- To try the tool without your own data, press Generate example blot.
- Crop, if it helps. Press Crop, drag around the lanes, and press Apply crop. Cropping copies pixels one to one, so no value changes, and any boxes you already drew are kept. A tighter image is easier to work on at higher zoom.
-
Draw a box around each band.
- Click a band. A box appears and centres itself on the band.
- Drag the corners to resize the box, and drag the box itself to move it.
- Use the handle under the box to rotate it if the scan is tilted.
- Repeat for every slot. Measure the same lanes on the housekeeping image and on each target image. Lanes are numbered by their position from left to right, so the order you click in doesn’t matter.
- Press Run. The results open in a new tab. If nothing opens, your browser blocked the pop-up. Allow pop-ups for this site and press Run again.
- Choose the control lanes and export. Tick the lanes that serve as your control. The relative values recalculate immediately. Then press Export CSV, or Print / PDF for your lab notebook.
Mouse and keyboard
| Action | How |
|---|---|
| Measure a band | Click the band |
| Select a box | Click inside it |
| Move | Drag the box, or use the arrow keys (Shift + arrow moves 5 px) |
| Resize | Drag a corner or edge handle, or press Alt + arrow keys |
| Rotate | Drag the round handle under the box (hold Shift to snap to 5° steps) |
| Delete a box | Click the red × on the selected box, or press Delete |
| Undo | Ctrl + Z (⌘ + Z on a Mac), or the Undo button — up to 80 steps, including crops |
| Zoom | The Zoom menu: Fit, 100% to 800% |
Placing the boxes
- Boxes don’t have to be the same size. Background is removed per pixel, so a larger box does not inflate the number. What matters is that each box contains the whole band.
- Leave a small margin around the band. The background is taken from a ring just outside the box. A box drawn tight against the band pushes part of the band into that ring and raises the background estimate.
- Watch for red edges. If an edge of the box cuts through the band, that edge turns red. A clipped band is the one placement error that clearly biases the result, so enlarge or move the box until no edge is red.
- Keep neighbouring bands out of the box. If lanes run close together, make the box narrower rather than taller.
- Straighten tilted lanes by rotating the box, not the image. Rotated boxes read the original pixels directly, so no interpolation changes a value.
The calculation
Every box is measured as a background-corrected integrated density:
net = Σ(signal) − median(surrounding ring) × area
ratio = target net ÷ housekeeping net (same lane)
relative = lane ratio ÷ mean ratio of the control lanes
-
Signal is taken from each pixel’s brightness (0–255, weighted 0.299 R + 0.587 G + 0.114 B).
- For dark bands on a light background (film, colorimetric), signal is
255 − brightness. - For bright bands on a dark background (fluorescence, inverted chemiluminescence), signal is
brightness. - The tool detects which kind of image it is from the overall brightness, so there is nothing to set. A film scan and a fluorescence image can be used together.
- For dark bands on a light background (film, colorimetric), signal is
- Background is the median signal of a ring of pixels around the box. The ring is about half the box’s shorter side wide, and at least 4 pixels. The median, rather than the mean, keeps a neighbouring band or a speck of dust from inflating the estimate. The background is subtracted for every pixel in the box (× area), and a band can never go below zero.
- Ratio divides the target by the housekeeping protein in the same lane. This cancels differences in loading and transfer.
- Relative divides each lane’s ratio by the mean ratio of the lanes you ticked as controls. A single control lane therefore reads exactly 1.000.
Because background is subtracted locally for each band, a blotchy or gradually shaded membrane affects each lane on its own terms rather than being corrected once for the whole image.
Why normalise to a housekeeping protein?
Raw band intensity reflects more than how much protein was present. Small differences in how much lysate was loaded, how evenly it transferred, and how long the blot was exposed all change the number. Dividing by a housekeeping protein from the same lane cancels most of that. That is why relative values, not raw intensities, are what gets reported.
The correction only works under two conditions:
- Same membrane, same loading. The housekeeping signal must come from the same membrane as the target, whether by stripping and reprobing, cutting the membrane, or multiplex detection.
- A signal inside the linear range. Housekeeping proteins are abundant and often saturate at typical loads. A saturated housekeeping band hides real loading differences. Use a shorter exposure, or load less protein.
Many journals now also accept, or prefer, normalisation to total protein, such as a stain-free gel image or a total-protein membrane stain. To use it, load the total-protein image into the housekeeping slot and draw one box per lane over the whole lane.
Reading the results
| Row | What it shows |
|---|---|
| Control | Tick boxes for choosing the control lanes. Lane 1 is ticked to start with. |
| Housekeeping row | Net intensity of the housekeeping band in each lane |
| net | Net intensity of the target band |
| ÷ housekeeping | The target-to-housekeeping ratio |
| relative | The ratio divided by the mean ratio of the control lanes — the value you report |
With two or more control lanes ticked, the tool shows how much their ratios vary (CV). Above 30% it is flagged. Control lanes that disagree that much usually point to a loading or transfer problem rather than a real biological difference.
The CSV has one row per lane and target, with these columns: lane, is_control, target, target_net, target_bg, hk_net, hk_bg, ratio, relative. target_bg and hk_bg are the per-pixel background values that were subtracted.
Warnings
| Message | What to do |
|---|---|
| No housekeeping bands yet | Measure the housekeeping lanes first. Without them there is nothing to normalise against. |
| Different number of lanes from housekeeping | Measure the same lanes on every image. Otherwise lanes are paired by position and the pairing cannot be trusted. |
| Red box edge | The box cuts through the band. Enlarge or move it. |
| Results window was blocked | Allow pop-ups for this site, then press Run again. |
| File could not be opened | The file is probably a TIFF. Export it as PNG and load it again. |
Frequently asked questions
Are my images uploaded anywhere?
No. The tool runs entirely in your browser, and there is no server component to send anything to. You can check this yourself: open your browser’s developer tools, switch to the Network tab, and analyse a blot. No request carries your image.
Can I use a JPEG?
You can, but you shouldn’t for anything you plan to publish. JPEG is a lossy format: it changes pixel values, and pixel values are exactly what densitometry measures. Use PNG, or whatever lossless format your imager exports.
Does it work with 16-bit TIFF files?
Not yet. Browsers cannot open TIFF files, so export a 16-bit TIFF as PNG first. Converting to 8-bit reduces the number of intensity levels from 65,536 to 256, so export at the widest range your software offers.
Can I quantify more than one target protein?
Yes. Up to three targets can be normalised to the same housekeeping control, and each target gets its own image slot and its own rows in the results table.
The housekeeping protein and the target are on separate images. Is that OK?
Yes, as long as both images come from the same membrane, for example two exposures or two channels of the same blot. Load each image into its own slot and measure the same lanes on both.
What if my housekeeping protein is on a different membrane?
Then it cannot normalise that target. Loading and transfer differences are specific to a membrane, so the correction only works when the housekeeping signal comes from the same membrane as the target.
Does it work with fluorescent or inverted images?
Yes. The tool detects bright bands on a dark background automatically and measures them the right way round. The slot label then reads “bright bands”.
Can I save an analysis and come back to it?
Not currently. Nothing is stored, either on a server or in your browser, so closing the tab ends the session. Export the CSV before you leave.
How to cite this tool
If you use these values in a publication, you can describe the method like this:
Band intensities were quantified with Blot Reader (PYMtools, https://pymtools.castingfilter.com/western-blot-quantification/, accessed DD Month YYYY) as background-corrected integrated density, with local background estimated from the median of a ring surrounding each region of interest, and normalised to [housekeeping protein] in the same lane.
Reviewers may ask how the numbers were produced. Keep the raw blot images, and note which lanes you used as controls.
Related tools
- Protein assay & loading calculator — load the same µg in every lane before you blot
- ΔΔCt calculator — relative qPCR quantification from your instrument export
For research use only. Not for use in diagnostic procedures. Results are provided without warranty — verify them before publication.