Description
Count the inclusive page span lastPage - firstPage + 1 and subtract excludedPages, bounded by that span.
Inclusive labels, repeated records, and serial restarts describe different counting bases. A numeric span is not automatically the count of existing physical or bibliographic items.
Count the inclusive page span lastPage - firstPage + 1 and subtract excludedPages, bounded by that span.
When to use this tool
Use Serial Pagination Article Span Count when you need a catalog count under a declared endpoint or restart convention.
How to use the tool and how it works
- Enter firstPage, lastPage, excludedPages. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read inclusiveSpan, countedPages. Use the output convention below.
Count the inclusive page span lastPage - firstPage + 1 and subtract excludedPages, bounded by that span.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| firstPage | First Page | Required. Safe integer; minimum 1. |
| lastPage | Last Page | Required. Safe integer. |
| excludedPages | Excluded Pages | Required. Safe integer; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| inclusiveSpan | Inclusive Span | Required. Safe integer. |
| countedPages | Counted Pages | Required. Safe integer. |
{
"input": {
"firstPage": 101,
"lastPage": 110,
"excludedPages": 2
},
"output": {
"inclusiveSpan": 10,
"countedPages": 8
}
} Limitations and assumptions
- This counts supplied integer page labels, not unnumbered plates, repeated pages, or actual article contents.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Compare the computed count with the original serial or item record, including missing and unnumbered material.
References
Similar or alternative tools
- Serial Issue Range Count
Divide lastIssue minus firstIssue by positive stride, floor, and add one.
- Serial Enumeration Range Expander Limited
Expand the inclusive integer interval start through end, at most 256 numbers, and pad each decimal string to minimum width 1-16.