Search Ctrl K
Home / Tools
THE FEUTEX TOOLKIT

Set Overlap from Cardinalities

Compare two finite sets using their sizes and shared-element count.

Statistics workspace● Runs in your browser
01 Your input
02 Your result
View or copy raw result data
FormulaJaccard = i/(a+b-i); Dice = 2*i/(a+b); Union = a+b-i
Sources and model references

Made for real tasks

  • Compare two finite sets using their sizes and shared-element count.
Explore step-by-step workflows →

Worked example

Inputs

Set A size
20 count
Set B size
30 count
Intersection size
10 count

Expected results

Jaccard
0.25 number
Dice
0.4 number
Union
40 elements

Load the example in the workspace to reproduce these results. Display rounding does not change the underlying calculation.

How to use this tool

  1. Enter set a size, set b size, intersection size.
  2. Use the displayed units and confirm the model assumptions.
  3. Calculate and compare the outputs against your input scenario.

Try this example

{
  "a": 20,
  "b": 30,
  "i": 10
}

Accuracy and scope

Cardinality summaries only; does not inspect lists for duplicate elements.

Is my data uploaded?

This tool runs locally in your browser. Input and output are not sent to a processing server. Copy or download your result before leaving the page.